Class RevokeCacheSecurityGroupIngressRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticache.model.RevokeCacheSecurityGroupIngressRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RevokeCacheSecurityGroupIngressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a RevokeCacheSecurityGroupIngress action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RevokeCacheSecurityGroupIngressRequest()
Default constructor for RevokeCacheSecurityGroupIngressRequest object.RevokeCacheSecurityGroupIngressRequest(String cacheSecurityGroupName, String eC2SecurityGroupName, String eC2SecurityGroupOwnerId)
Constructs a new RevokeCacheSecurityGroupIngressRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RevokeCacheSecurityGroupIngressRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCacheSecurityGroupName()
The name of the cache security group to revoke ingress from.String
getEC2SecurityGroupName()
The name of the Amazon EC2 security group to revoke access from.String
getEC2SecurityGroupOwnerId()
The AWS account number of the Amazon EC2 security group owner.int
hashCode()
void
setCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group to revoke ingress from.void
setEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the Amazon EC2 security group to revoke access from.void
setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account number of the Amazon EC2 security group owner.String
toString()
Returns a string representation of this object; useful for testing and debugging.RevokeCacheSecurityGroupIngressRequest
withCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group to revoke ingress from.RevokeCacheSecurityGroupIngressRequest
withEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the Amazon EC2 security group to revoke access from.RevokeCacheSecurityGroupIngressRequest
withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account number of the Amazon EC2 security group owner.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
RevokeCacheSecurityGroupIngressRequest
public RevokeCacheSecurityGroupIngressRequest()
Default constructor for RevokeCacheSecurityGroupIngressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
RevokeCacheSecurityGroupIngressRequest
public RevokeCacheSecurityGroupIngressRequest(String cacheSecurityGroupName, String eC2SecurityGroupName, String eC2SecurityGroupOwnerId)
Constructs a new RevokeCacheSecurityGroupIngressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
cacheSecurityGroupName
- The name of the cache security group to revoke ingress from.eC2SecurityGroupName
- The name of the Amazon EC2 security group to revoke access from.eC2SecurityGroupOwnerId
- The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.
-
-
Method Detail
-
setCacheSecurityGroupName
public void setCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group to revoke ingress from.
- Parameters:
cacheSecurityGroupName
- The name of the cache security group to revoke ingress from.
-
getCacheSecurityGroupName
public String getCacheSecurityGroupName()
The name of the cache security group to revoke ingress from.
- Returns:
- The name of the cache security group to revoke ingress from.
-
withCacheSecurityGroupName
public RevokeCacheSecurityGroupIngressRequest withCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group to revoke ingress from.
- Parameters:
cacheSecurityGroupName
- The name of the cache security group to revoke ingress from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupName
public void setEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the Amazon EC2 security group to revoke access from.
- Parameters:
eC2SecurityGroupName
- The name of the Amazon EC2 security group to revoke access from.
-
getEC2SecurityGroupName
public String getEC2SecurityGroupName()
The name of the Amazon EC2 security group to revoke access from.
- Returns:
- The name of the Amazon EC2 security group to revoke access from.
-
withEC2SecurityGroupName
public RevokeCacheSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the Amazon EC2 security group to revoke access from.
- Parameters:
eC2SecurityGroupName
- The name of the Amazon EC2 security group to revoke access from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupOwnerId
public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.
- Parameters:
eC2SecurityGroupOwnerId
- The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.
-
getEC2SecurityGroupOwnerId
public String getEC2SecurityGroupOwnerId()
The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.
- Returns:
- The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.
-
withEC2SecurityGroupOwnerId
public RevokeCacheSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.
- Parameters:
eC2SecurityGroupOwnerId
- The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RevokeCacheSecurityGroupIngressRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-