@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevokeEndpointAccessRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RevokeEndpointAccessRequest() |
Modifier and Type | Method and Description |
---|---|
RevokeEndpointAccessRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccount()
The Amazon Web Services account ID whose access is to be revoked.
|
String |
getClusterIdentifier()
The cluster to revoke access from.
|
Boolean |
getForce()
Indicates whether to force the revoke action.
|
List<String> |
getVpcIds()
The virtual private cloud (VPC) identifiers for which access is to be revoked.
|
int |
hashCode() |
Boolean |
isForce()
Indicates whether to force the revoke action.
|
void |
setAccount(String account)
The Amazon Web Services account ID whose access is to be revoked.
|
void |
setClusterIdentifier(String clusterIdentifier)
The cluster to revoke access from.
|
void |
setForce(Boolean force)
Indicates whether to force the revoke action.
|
void |
setVpcIds(Collection<String> vpcIds)
The virtual private cloud (VPC) identifiers for which access is to be revoked.
|
String |
toString()
Returns a string representation of this object.
|
RevokeEndpointAccessRequest |
withAccount(String account)
The Amazon Web Services account ID whose access is to be revoked.
|
RevokeEndpointAccessRequest |
withClusterIdentifier(String clusterIdentifier)
The cluster to revoke access from.
|
RevokeEndpointAccessRequest |
withForce(Boolean force)
Indicates whether to force the revoke action.
|
RevokeEndpointAccessRequest |
withVpcIds(Collection<String> vpcIds)
The virtual private cloud (VPC) identifiers for which access is to be revoked.
|
RevokeEndpointAccessRequest |
withVpcIds(String... vpcIds)
The virtual private cloud (VPC) identifiers for which access is to be revoked.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClusterIdentifier(String clusterIdentifier)
The cluster to revoke access from.
clusterIdentifier
- The cluster to revoke access from.public String getClusterIdentifier()
The cluster to revoke access from.
public RevokeEndpointAccessRequest withClusterIdentifier(String clusterIdentifier)
The cluster to revoke access from.
clusterIdentifier
- The cluster to revoke access from.public void setAccount(String account)
The Amazon Web Services account ID whose access is to be revoked.
account
- The Amazon Web Services account ID whose access is to be revoked.public String getAccount()
The Amazon Web Services account ID whose access is to be revoked.
public RevokeEndpointAccessRequest withAccount(String account)
The Amazon Web Services account ID whose access is to be revoked.
account
- The Amazon Web Services account ID whose access is to be revoked.public List<String> getVpcIds()
The virtual private cloud (VPC) identifiers for which access is to be revoked.
public void setVpcIds(Collection<String> vpcIds)
The virtual private cloud (VPC) identifiers for which access is to be revoked.
vpcIds
- The virtual private cloud (VPC) identifiers for which access is to be revoked.public RevokeEndpointAccessRequest withVpcIds(String... vpcIds)
The virtual private cloud (VPC) identifiers for which access is to be revoked.
NOTE: This method appends the values to the existing list (if any). Use
setVpcIds(java.util.Collection)
or withVpcIds(java.util.Collection)
if you want to override the
existing values.
vpcIds
- The virtual private cloud (VPC) identifiers for which access is to be revoked.public RevokeEndpointAccessRequest withVpcIds(Collection<String> vpcIds)
The virtual private cloud (VPC) identifiers for which access is to be revoked.
vpcIds
- The virtual private cloud (VPC) identifiers for which access is to be revoked.public void setForce(Boolean force)
Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
force
- Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with
the endpoint authorization are also deleted.public Boolean getForce()
Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
public RevokeEndpointAccessRequest withForce(Boolean force)
Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
force
- Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with
the endpoint authorization are also deleted.public Boolean isForce()
Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
public String toString()
toString
in class Object
Object.toString()
public RevokeEndpointAccessRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()