public class CreateCacheSecurityGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateCacheSecurityGroup operation.
Creates a new Cache Security Group. Cache Security groups control access to one or more Cache Clusters.
Only use cache security groups when you are creating a cluster outside of an Amazon Virtual Private Cloud (VPC). Inside of a VPC, use VPC security groups.
| コンストラクタと説明 |
|---|
CreateCacheSecurityGroupRequest()
Default constructor for a new CreateCacheSecurityGroupRequest object.
|
CreateCacheSecurityGroupRequest(java.lang.String cacheSecurityGroupName,
java.lang.String description)
Constructs a new CreateCacheSecurityGroupRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheSecurityGroupName()
The name for the Cache Security Group.
|
java.lang.String |
getDescription()
The description for the Cache Security Group.
|
int |
hashCode() |
void |
setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The name for the Cache Security Group.
|
void |
setDescription(java.lang.String description)
The description for the Cache Security Group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateCacheSecurityGroupRequest |
withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The name for the Cache Security Group.
|
CreateCacheSecurityGroupRequest |
withDescription(java.lang.String description)
The description for the Cache Security Group.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic CreateCacheSecurityGroupRequest()
public CreateCacheSecurityGroupRequest(java.lang.String cacheSecurityGroupName,
java.lang.String description)
cacheSecurityGroupName - The name for the Cache Security Group.
This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".
Example: mysecuritygroup
description - The description for the Cache Security Group.public java.lang.String getCacheSecurityGroupName()
Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".
Example:
mysecuritygroup
Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".
Example:
mysecuritygroup
public void setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".
Example:
mysecuritygroup
cacheSecurityGroupName - The name for the Cache Security Group. This value is stored as a
lowercase string. Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".
Example:
mysecuritygroup
public CreateCacheSecurityGroupRequest withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".
Example:
mysecuritygroup
Returns a reference to this object so that method calls can be chained together.
cacheSecurityGroupName - The name for the Cache Security Group. This value is stored as a
lowercase string. Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".
Example:
mysecuritygroup
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description for the Cache Security Group.public CreateCacheSecurityGroupRequest withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description - The description for the Cache Security Group.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