@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevokeEndpointAccessResult 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 |
---|
RevokeEndpointAccessResult() |
Modifier and Type | Method and Description |
---|---|
RevokeEndpointAccessResult |
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.
|
RevokeEndpointAccessResult |
withAllowedAllVPCs(Boolean allowedAllVPCs)
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
|
RevokeEndpointAccessResult |
withAllowedVPCs(Collection<String> allowedVPCs)
The VPCs allowed access to the cluster.
|
RevokeEndpointAccessResult |
withAllowedVPCs(String... allowedVPCs)
The VPCs allowed access to the cluster.
|
RevokeEndpointAccessResult |
withAuthorizeTime(Date authorizeTime)
The time (UTC) when the authorization was created.
|
RevokeEndpointAccessResult |
withClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
RevokeEndpointAccessResult |
withClusterStatus(String clusterStatus)
The status of the cluster.
|
RevokeEndpointAccessResult |
withEndpointCount(Integer endpointCount)
The number of Redshift-managed VPC endpoints created for the authorization.
|
RevokeEndpointAccessResult |
withGrantee(String grantee)
The Amazon Web Services account ID of the grantee of the cluster.
|
RevokeEndpointAccessResult |
withGrantor(String grantor)
The Amazon Web Services account ID of the cluster owner.
|
RevokeEndpointAccessResult |
withStatus(AuthorizationStatus status)
The status of the authorization action.
|
RevokeEndpointAccessResult |
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 RevokeEndpointAccessResult 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 RevokeEndpointAccessResult 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 RevokeEndpointAccessResult 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 RevokeEndpointAccessResult 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 RevokeEndpointAccessResult 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 RevokeEndpointAccessResult withStatus(String status)
The status of the authorization action.
status
- The status of the authorization action.AuthorizationStatus
public RevokeEndpointAccessResult 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 RevokeEndpointAccessResult 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 RevokeEndpointAccessResult 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 RevokeEndpointAccessResult 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 RevokeEndpointAccessResult 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 RevokeEndpointAccessResult clone()