public class RevokeCacheSecurityGroupIngressRequest extends AmazonWebServiceRequest implements Serializable
RevokeCacheSecurityGroupIngress operation
.
The RevokeCacheSecurityGroupIngress operation revokes ingress from a cache security group. Use this operation to disallow access from an Amazon EC2 security group that had been previously authorized.
NOOP
Constructor and Description |
---|
RevokeCacheSecurityGroupIngressRequest()
Default constructor for a new RevokeCacheSecurityGroupIngressRequest object.
|
RevokeCacheSecurityGroupIngressRequest(String cacheSecurityGroupName,
String eC2SecurityGroupName,
String eC2SecurityGroupOwnerId)
Constructs a new RevokeCacheSecurityGroupIngressRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public RevokeCacheSecurityGroupIngressRequest()
public RevokeCacheSecurityGroupIngressRequest(String cacheSecurityGroupName, String eC2SecurityGroupName, String eC2SecurityGroupOwnerId)
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.public String getCacheSecurityGroupName()
public void setCacheSecurityGroupName(String cacheSecurityGroupName)
cacheSecurityGroupName
- The name of the cache security group to revoke ingress from.public RevokeCacheSecurityGroupIngressRequest withCacheSecurityGroupName(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 revoke ingress from.public String getEC2SecurityGroupName()
public void setEC2SecurityGroupName(String eC2SecurityGroupName)
eC2SecurityGroupName
- The name of the Amazon EC2 security group to revoke access from.public RevokeCacheSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupName
- The name of the Amazon EC2 security group to revoke access from.public String getEC2SecurityGroupOwnerId()
public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
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 RevokeCacheSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.