public class CacheSecurityGroup
extends java.lang.Object
implements java.io.Serializable
Defines a set of EC2 Security groups that are allowed to access a Cache Cluster.
| コンストラクタと説明 |
|---|
CacheSecurityGroup() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheSecurityGroupName()
Specifies the name of the Cache Security Group.
|
java.lang.String |
getDescription()
Provides the description of the Cache Security Group.
|
java.util.List<EC2SecurityGroup> |
getEC2SecurityGroups()
Contains a list of EC2SecurityGroup elements.
|
java.lang.String |
getOwnerId()
Provides the AWS ID of the owner of a specific Cache Security Group.
|
int |
hashCode() |
void |
setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
Specifies the name of the Cache Security Group.
|
void |
setDescription(java.lang.String description)
Provides the description of the Cache Security Group.
|
void |
setEC2SecurityGroups(java.util.Collection<EC2SecurityGroup> eC2SecurityGroups)
Contains a list of EC2SecurityGroup elements.
|
void |
setOwnerId(java.lang.String ownerId)
Provides the AWS ID of the owner of a specific Cache Security Group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CacheSecurityGroup |
withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
Specifies the name of the Cache Security Group.
|
CacheSecurityGroup |
withDescription(java.lang.String description)
Provides the description of the Cache Security Group.
|
CacheSecurityGroup |
withEC2SecurityGroups(java.util.Collection<EC2SecurityGroup> eC2SecurityGroups)
Contains a list of EC2SecurityGroup elements.
|
CacheSecurityGroup |
withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups)
Contains a list of EC2SecurityGroup elements.
|
CacheSecurityGroup |
withOwnerId(java.lang.String ownerId)
Provides the AWS ID of the owner of a specific Cache Security Group.
|
public java.lang.String getOwnerId()
public void setOwnerId(java.lang.String ownerId)
ownerId - Provides the AWS ID of the owner of a specific Cache Security Group.public CacheSecurityGroup withOwnerId(java.lang.String ownerId)
Returns a reference to this object so that method calls can be chained together.
ownerId - Provides the AWS ID of the owner of a specific Cache Security Group.public java.lang.String getCacheSecurityGroupName()
public void setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
cacheSecurityGroupName - Specifies the name of the Cache Security Group.public CacheSecurityGroup withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
cacheSecurityGroupName - Specifies the name of the Cache Security Group.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - Provides the description of the Cache Security Group.public CacheSecurityGroup withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description - Provides the description of the Cache Security Group.public java.util.List<EC2SecurityGroup> getEC2SecurityGroups()
public void setEC2SecurityGroups(java.util.Collection<EC2SecurityGroup> eC2SecurityGroups)
eC2SecurityGroups - Contains a list of EC2SecurityGroup elements.public CacheSecurityGroup withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroups - Contains a list of EC2SecurityGroup elements.public CacheSecurityGroup withEC2SecurityGroups(java.util.Collection<EC2SecurityGroup> eC2SecurityGroups)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroups - Contains a list of EC2SecurityGroup elements.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