public class AuthorizeCacheSecurityGroupIngressRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of an AuthorizeCacheSecurityGroupIngress action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cacheSecurityGroupName
The cache security group which will allow network ingress.
|
private java.lang.String |
eC2SecurityGroupName
The Amazon EC2 security group to be authorized for ingress to the cache
security group.
|
private java.lang.String |
eC2SecurityGroupOwnerId
The AWS account number of the Amazon EC2 security group owner.
|
NOOP
Constructor and Description |
---|
AuthorizeCacheSecurityGroupIngressRequest()
Default constructor for AuthorizeCacheSecurityGroupIngressRequest object.
|
AuthorizeCacheSecurityGroupIngressRequest(java.lang.String cacheSecurityGroupName,
java.lang.String eC2SecurityGroupName,
java.lang.String eC2SecurityGroupOwnerId)
Constructs a new AuthorizeCacheSecurityGroupIngressRequest object.
|
Modifier and Type | Method and Description |
---|---|
AuthorizeCacheSecurityGroupIngressRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheSecurityGroupName()
The cache security group which will allow network ingress.
|
java.lang.String |
getEC2SecurityGroupName()
The Amazon EC2 security group to be authorized for ingress to the cache
security group.
|
java.lang.String |
getEC2SecurityGroupOwnerId()
The AWS account number of the Amazon EC2 security group owner.
|
int |
hashCode() |
void |
setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The cache security group which will allow network ingress.
|
void |
setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
The Amazon EC2 security group to be authorized for ingress to the cache
security group.
|
void |
setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
The AWS account number of the Amazon EC2 security group owner.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuthorizeCacheSecurityGroupIngressRequest |
withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The cache security group which will allow network ingress.
|
AuthorizeCacheSecurityGroupIngressRequest |
withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
The Amazon EC2 security group to be authorized for ingress to the cache
security group.
|
AuthorizeCacheSecurityGroupIngressRequest |
withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
The AWS account number of the Amazon EC2 security group owner.
|
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
private java.lang.String cacheSecurityGroupName
The cache security group which will allow network ingress.
private java.lang.String eC2SecurityGroupName
The Amazon EC2 security group to be authorized for ingress to the cache security group.
private java.lang.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.
public AuthorizeCacheSecurityGroupIngressRequest()
public AuthorizeCacheSecurityGroupIngressRequest(java.lang.String cacheSecurityGroupName, java.lang.String eC2SecurityGroupName, java.lang.String eC2SecurityGroupOwnerId)
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.public void setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The cache security group which will allow network ingress.
cacheSecurityGroupName
- The cache security group which will allow network ingress.public java.lang.String getCacheSecurityGroupName()
The cache security group which will allow network ingress.
public AuthorizeCacheSecurityGroupIngressRequest withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The cache security group which will allow network ingress.
cacheSecurityGroupName
- The cache security group which will allow network ingress.public void setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
The Amazon EC2 security group to be authorized for ingress to the cache security group.
eC2SecurityGroupName
- The Amazon EC2 security group to be authorized for ingress to the
cache security group.public java.lang.String getEC2SecurityGroupName()
The Amazon EC2 security group to be authorized for ingress to the cache security group.
public AuthorizeCacheSecurityGroupIngressRequest withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
The Amazon EC2 security group to be authorized for ingress to the cache security group.
eC2SecurityGroupName
- The Amazon EC2 security group to be authorized for ingress to the
cache security group.public void setEC2SecurityGroupOwnerId(java.lang.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.
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.public java.lang.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.
public AuthorizeCacheSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AuthorizeCacheSecurityGroupIngressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()