public class CacheSecurityGroup extends Object implements Serializable
Represents the output of one of the following operations:
| Constructor and Description | 
|---|
| CacheSecurityGroup() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| String | getCacheSecurityGroupName()The name of the cache security group. | 
| String | getDescription()The description of the cache security group. | 
| List<EC2SecurityGroup> | getEC2SecurityGroups()A list of Amazon EC2 security groups that are associated with this
 cache security group. | 
| String | getOwnerId()The AWS account ID of the cache security group owner. | 
| int | hashCode() | 
| void | setCacheSecurityGroupName(String cacheSecurityGroupName)The name of the cache security group. | 
| void | setDescription(String description)The description of the cache security group. | 
| void | setEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups)A list of Amazon EC2 security groups that are associated with this
 cache security group. | 
| void | setOwnerId(String ownerId)The AWS account ID of the cache security group owner. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| CacheSecurityGroup | withCacheSecurityGroupName(String cacheSecurityGroupName)The name of the cache security group. | 
| CacheSecurityGroup | withDescription(String description)The description of the cache security group. | 
| CacheSecurityGroup | withEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups)A list of Amazon EC2 security groups that are associated with this
 cache security group. | 
| CacheSecurityGroup | withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups)A list of Amazon EC2 security groups that are associated with this
 cache security group. | 
| CacheSecurityGroup | withOwnerId(String ownerId)The AWS account ID of the cache security group owner. | 
public String getOwnerId()
public void setOwnerId(String ownerId)
ownerId - The AWS account ID of the cache security group owner.public CacheSecurityGroup withOwnerId(String ownerId)
Returns a reference to this object so that method calls can be chained together.
ownerId - The AWS account ID of the cache security group owner.public String getCacheSecurityGroupName()
public void setCacheSecurityGroupName(String cacheSecurityGroupName)
cacheSecurityGroupName - The name of the cache security group.public CacheSecurityGroup 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.public String getDescription()
public void setDescription(String description)
description - The description of the cache security group.public CacheSecurityGroup withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - The description of the cache security group.public List<EC2SecurityGroup> getEC2SecurityGroups()
public void setEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups)
eC2SecurityGroups - A list of Amazon EC2 security groups that are associated with this
         cache security group.public CacheSecurityGroup withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroups - A list of Amazon EC2 security groups that are associated with this
         cache security group.public CacheSecurityGroup withEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroups - A list of Amazon EC2 security groups that are associated with this
         cache security group.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.