public class AuthorizeCacheSecurityGroupIngressRequest extends AmazonWebServiceRequest implements java.io.Serializable
AuthorizeCacheSecurityGroupIngress operation.
Authorizes ingress to a CacheSecurityGroup using EC2 Security Groups as authorization (therefore the application using the cache must be running on EC2 clusters). This API requires the following parameters: EC2SecurityGroupName and EC2SecurityGroupOwnerId.
NOTE: You cannot authorize ingress from an EC2 security group in one Region to an Amazon Cache Cluster in another.
| コンストラクタと説明 |
|---|
AuthorizeCacheSecurityGroupIngressRequest()
Default constructor for a new AuthorizeCacheSecurityGroupIngressRequest object.
|
AuthorizeCacheSecurityGroupIngressRequest(java.lang.String cacheSecurityGroupName,
java.lang.String eC2SecurityGroupName,
java.lang.String eC2SecurityGroupOwnerId)
Constructs a new AuthorizeCacheSecurityGroupIngressRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheSecurityGroupName()
The name of the Cache Security Group to authorize.
|
java.lang.String |
getEC2SecurityGroupName()
Name of the EC2 Security Group to include in the authorization.
|
java.lang.String |
getEC2SecurityGroupOwnerId()
AWS Account Number of the owner of the security group specified in the
EC2SecurityGroupName parameter.
|
int |
hashCode() |
void |
setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The name of the Cache Security Group to authorize.
|
void |
setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
Name of the EC2 Security Group to include in the authorization.
|
void |
setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
AWS Account Number of the owner of the security group specified in the
EC2SecurityGroupName parameter.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuthorizeCacheSecurityGroupIngressRequest |
withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The name of the Cache Security Group to authorize.
|
AuthorizeCacheSecurityGroupIngressRequest |
withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
Name of the EC2 Security Group to include in the authorization.
|
AuthorizeCacheSecurityGroupIngressRequest |
withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
AWS Account Number of the owner of the security group specified in the
EC2SecurityGroupName parameter.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic AuthorizeCacheSecurityGroupIngressRequest()
public AuthorizeCacheSecurityGroupIngressRequest(java.lang.String cacheSecurityGroupName,
java.lang.String eC2SecurityGroupName,
java.lang.String eC2SecurityGroupOwnerId)
cacheSecurityGroupName - The name of the Cache Security Group to
authorize.eC2SecurityGroupName - Name of the EC2 Security Group to include
in the authorization.eC2SecurityGroupOwnerId - AWS Account Number of the owner of the
security group specified in the EC2SecurityGroupName parameter. The
AWS Access Key ID is not an acceptable value.public java.lang.String getCacheSecurityGroupName()
public void setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
cacheSecurityGroupName - The name of the Cache Security Group to authorize.public AuthorizeCacheSecurityGroupIngressRequest withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
cacheSecurityGroupName - The name of the Cache Security Group to authorize.public java.lang.String getEC2SecurityGroupName()
public void setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
eC2SecurityGroupName - Name of the EC2 Security Group to include in the authorization.public AuthorizeCacheSecurityGroupIngressRequest withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupName - Name of the EC2 Security Group to include in the authorization.public java.lang.String getEC2SecurityGroupOwnerId()
public void setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
eC2SecurityGroupOwnerId - AWS Account Number of the owner of the security group specified in the
EC2SecurityGroupName parameter. The AWS Access Key ID is not an
acceptable value.public AuthorizeCacheSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupOwnerId - AWS Account Number of the owner of the security group specified in the
EC2SecurityGroupName parameter. The AWS Access Key ID is not an
acceptable value.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object