@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizeEndpointAccessResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across Amazon Web Services accounts.
Constructor and Description |
---|
AuthorizeEndpointAccessResult() |
Modifier and Type | Method and Description |
---|---|
AuthorizeEndpointAccessResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowedAllVPCs()
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
|
List<String> |
getAllowedVPCs()
The VPCs allowed access to the cluster.
|
Date |
getAuthorizeTime()
The time (UTC) when the authorization was created.
|
String |
getClusterIdentifier()
The cluster identifier.
|
String |
getClusterStatus()
The status of the cluster.
|
Integer |
getEndpointCount()
The number of Redshift-managed VPC endpoints created for the authorization.
|
String |
getGrantee()
The Amazon Web Services account ID of the grantee of the cluster.
|
String |
getGrantor()
The Amazon Web Services account ID of the cluster owner.
|
String |
getStatus()
The status of the authorization action.
|
int |
hashCode() |
Boolean |
isAllowedAllVPCs()
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
|
void |
setAllowedAllVPCs(Boolean allowedAllVPCs)
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
|
void |
setAllowedVPCs(Collection<String> allowedVPCs)
The VPCs allowed access to the cluster.
|
void |
setAuthorizeTime(Date authorizeTime)
The time (UTC) when the authorization was created.
|
void |
setClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
void |
setClusterStatus(String clusterStatus)
The status of the cluster.
|
void |
setEndpointCount(Integer endpointCount)
The number of Redshift-managed VPC endpoints created for the authorization.
|
void |
setGrantee(String grantee)
The Amazon Web Services account ID of the grantee of the cluster.
|
void |
setGrantor(String grantor)
The Amazon Web Services account ID of the cluster owner.
|
void |
setStatus(String status)
The status of the authorization action.
|
String |
toString()
Returns a string representation of this object.
|
AuthorizeEndpointAccessResult |
withAllowedAllVPCs(Boolean allowedAllVPCs)
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
|
AuthorizeEndpointAccessResult |
withAllowedVPCs(Collection<String> allowedVPCs)
The VPCs allowed access to the cluster.
|
AuthorizeEndpointAccessResult |
withAllowedVPCs(String... allowedVPCs)
The VPCs allowed access to the cluster.
|
AuthorizeEndpointAccessResult |
withAuthorizeTime(Date authorizeTime)
The time (UTC) when the authorization was created.
|
AuthorizeEndpointAccessResult |
withClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
AuthorizeEndpointAccessResult |
withClusterStatus(String clusterStatus)
The status of the cluster.
|
AuthorizeEndpointAccessResult |
withEndpointCount(Integer endpointCount)
The number of Redshift-managed VPC endpoints created for the authorization.
|
AuthorizeEndpointAccessResult |
withGrantee(String grantee)
The Amazon Web Services account ID of the grantee of the cluster.
|
AuthorizeEndpointAccessResult |
withGrantor(String grantor)
The Amazon Web Services account ID of the cluster owner.
|
AuthorizeEndpointAccessResult |
withStatus(AuthorizationStatus status)
The status of the authorization action.
|
AuthorizeEndpointAccessResult |
withStatus(String status)
The status of the authorization action.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setGrantor(String grantor)
The Amazon Web Services account ID of the cluster owner.
grantor
- The Amazon Web Services account ID of the cluster owner.public String getGrantor()
The Amazon Web Services account ID of the cluster owner.
public AuthorizeEndpointAccessResult withGrantor(String grantor)
The Amazon Web Services account ID of the cluster owner.
grantor
- The Amazon Web Services account ID of the cluster owner.public void setGrantee(String grantee)
The Amazon Web Services account ID of the grantee of the cluster.
grantee
- The Amazon Web Services account ID of the grantee of the cluster.public String getGrantee()
The Amazon Web Services account ID of the grantee of the cluster.
public AuthorizeEndpointAccessResult withGrantee(String grantee)
The Amazon Web Services account ID of the grantee of the cluster.
grantee
- The Amazon Web Services account ID of the grantee of the cluster.public void setClusterIdentifier(String clusterIdentifier)
The cluster identifier.
clusterIdentifier
- The cluster identifier.public String getClusterIdentifier()
The cluster identifier.
public AuthorizeEndpointAccessResult withClusterIdentifier(String clusterIdentifier)
The cluster identifier.
clusterIdentifier
- The cluster identifier.public void setAuthorizeTime(Date authorizeTime)
The time (UTC) when the authorization was created.
authorizeTime
- The time (UTC) when the authorization was created.public Date getAuthorizeTime()
The time (UTC) when the authorization was created.
public AuthorizeEndpointAccessResult withAuthorizeTime(Date authorizeTime)
The time (UTC) when the authorization was created.
authorizeTime
- The time (UTC) when the authorization was created.public void setClusterStatus(String clusterStatus)
The status of the cluster.
clusterStatus
- The status of the cluster.public String getClusterStatus()
The status of the cluster.
public AuthorizeEndpointAccessResult withClusterStatus(String clusterStatus)
The status of the cluster.
clusterStatus
- The status of the cluster.public void setStatus(String status)
The status of the authorization action.
status
- The status of the authorization action.AuthorizationStatus
public String getStatus()
The status of the authorization action.
AuthorizationStatus
public AuthorizeEndpointAccessResult withStatus(String status)
The status of the authorization action.
status
- The status of the authorization action.AuthorizationStatus
public AuthorizeEndpointAccessResult withStatus(AuthorizationStatus status)
The status of the authorization action.
status
- The status of the authorization action.AuthorizationStatus
public void setAllowedAllVPCs(Boolean allowedAllVPCs)
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
allowedAllVPCs
- Indicates whether all VPCs in the grantee account are allowed access to the cluster.public Boolean getAllowedAllVPCs()
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
public AuthorizeEndpointAccessResult withAllowedAllVPCs(Boolean allowedAllVPCs)
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
allowedAllVPCs
- Indicates whether all VPCs in the grantee account are allowed access to the cluster.public Boolean isAllowedAllVPCs()
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
public List<String> getAllowedVPCs()
The VPCs allowed access to the cluster.
public void setAllowedVPCs(Collection<String> allowedVPCs)
The VPCs allowed access to the cluster.
allowedVPCs
- The VPCs allowed access to the cluster.public AuthorizeEndpointAccessResult withAllowedVPCs(String... allowedVPCs)
The VPCs allowed access to the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedVPCs(java.util.Collection)
or withAllowedVPCs(java.util.Collection)
if you want to
override the existing values.
allowedVPCs
- The VPCs allowed access to the cluster.public AuthorizeEndpointAccessResult withAllowedVPCs(Collection<String> allowedVPCs)
The VPCs allowed access to the cluster.
allowedVPCs
- The VPCs allowed access to the cluster.public void setEndpointCount(Integer endpointCount)
The number of Redshift-managed VPC endpoints created for the authorization.
endpointCount
- The number of Redshift-managed VPC endpoints created for the authorization.public Integer getEndpointCount()
The number of Redshift-managed VPC endpoints created for the authorization.
public AuthorizeEndpointAccessResult withEndpointCount(Integer endpointCount)
The number of Redshift-managed VPC endpoints created for the authorization.
endpointCount
- The number of Redshift-managed VPC endpoints created for the authorization.public String toString()
toString
in class Object
Object.toString()
public AuthorizeEndpointAccessResult clone()