Class AuthorizeCacheSecurityGroupIngressRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of an AuthorizeCacheSecurityGroupIngress action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for AuthorizeCacheSecurityGroupIngressRequest object.AuthorizeCacheSecurityGroupIngressRequest
(String cacheSecurityGroupName, String eC2SecurityGroupName, String eC2SecurityGroupOwnerId) Constructs a new AuthorizeCacheSecurityGroupIngressRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The cache security group which will allow network ingress.The Amazon EC2 security group to be authorized for ingress to the cache security group.The AWS account number of the Amazon EC2 security group owner.int
hashCode()
void
setCacheSecurityGroupName
(String cacheSecurityGroupName) The cache security group which will allow network ingress.void
setEC2SecurityGroupName
(String eC2SecurityGroupName) The Amazon EC2 security group to be authorized for ingress to the cache security group.void
setEC2SecurityGroupOwnerId
(String eC2SecurityGroupOwnerId) The AWS account number of the Amazon EC2 security group owner.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheSecurityGroupName
(String cacheSecurityGroupName) The cache security group which will allow network ingress.withEC2SecurityGroupName
(String eC2SecurityGroupName) The Amazon EC2 security group to be authorized for ingress to the cache security group.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 Details
-
AuthorizeCacheSecurityGroupIngressRequest
public AuthorizeCacheSecurityGroupIngressRequest()Default constructor for AuthorizeCacheSecurityGroupIngressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
AuthorizeCacheSecurityGroupIngressRequest
public AuthorizeCacheSecurityGroupIngressRequest(String cacheSecurityGroupName, String eC2SecurityGroupName, String eC2SecurityGroupOwnerId) Constructs a new AuthorizeCacheSecurityGroupIngressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
cacheSecurityGroupName
- The cache security group which will allow network ingress.eC2SecurityGroupName
- The Amazon EC2 security group to be authorized for ingress to the cache security group.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 Details
-
setCacheSecurityGroupName
The cache security group which will allow network ingress.
- Parameters:
cacheSecurityGroupName
- The cache security group which will allow network ingress.
-
getCacheSecurityGroupName
The cache security group which will allow network ingress.
- Returns:
- The cache security group which will allow network ingress.
-
withCacheSecurityGroupName
public AuthorizeCacheSecurityGroupIngressRequest withCacheSecurityGroupName(String cacheSecurityGroupName) The cache security group which will allow network ingress.
- Parameters:
cacheSecurityGroupName
- The cache security group which will allow network ingress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupName
The Amazon EC2 security group to be authorized for ingress to the cache security group.
- Parameters:
eC2SecurityGroupName
- The Amazon EC2 security group to be authorized for ingress to the cache security group.
-
getEC2SecurityGroupName
The Amazon EC2 security group to be authorized for ingress to the cache security group.
- Returns:
- The Amazon EC2 security group to be authorized for ingress to the cache security group.
-
withEC2SecurityGroupName
public AuthorizeCacheSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName) The Amazon EC2 security group to be authorized for ingress to the cache security group.
- Parameters:
eC2SecurityGroupName
- The Amazon EC2 security group to be authorized for ingress to the cache security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupOwnerId
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
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 AuthorizeCacheSecurityGroupIngressRequest 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-