@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCacheSecurityGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CreateCacheSecurityGroup operation.
NOOP| Constructor and Description |
|---|
CreateCacheSecurityGroupRequest()
Default constructor for CreateCacheSecurityGroupRequest object.
|
CreateCacheSecurityGroupRequest(String cacheSecurityGroupName,
String description)
Constructs a new CreateCacheSecurityGroupRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
CreateCacheSecurityGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCacheSecurityGroupName()
A name for the cache security group.
|
String |
getDescription()
A description for the cache security group.
|
int |
hashCode() |
void |
setCacheSecurityGroupName(String cacheSecurityGroupName)
A name for the cache security group.
|
void |
setDescription(String description)
A description for the cache security group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateCacheSecurityGroupRequest |
withCacheSecurityGroupName(String cacheSecurityGroupName)
A name for the cache security group.
|
CreateCacheSecurityGroupRequest |
withDescription(String description)
A description for the cache security group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic CreateCacheSecurityGroupRequest()
public CreateCacheSecurityGroupRequest(String cacheSecurityGroupName, String description)
cacheSecurityGroupName - A name for the cache security group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".
Example: mysecuritygroup
description - A description for the cache security group.public void setCacheSecurityGroupName(String cacheSecurityGroupName)
A name for the cache security group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".
Example: mysecuritygroup
cacheSecurityGroupName - A name for the cache security group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".
Example: mysecuritygroup
public String getCacheSecurityGroupName()
A name for the cache security group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".
Example: mysecuritygroup
Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".
Example: mysecuritygroup
public CreateCacheSecurityGroupRequest withCacheSecurityGroupName(String cacheSecurityGroupName)
A name for the cache security group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".
Example: mysecuritygroup
cacheSecurityGroupName - A name for the cache security group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".
Example: mysecuritygroup
public void setDescription(String description)
A description for the cache security group.
description - A description for the cache security group.public String getDescription()
A description for the cache security group.
public CreateCacheSecurityGroupRequest withDescription(String description)
A description for the cache security group.
description - A description for the cache security group.public String toString()
toString in class ObjectObject.toString()public CreateCacheSecurityGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.