Class CreateCacheSecurityGroupRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
Represents the input of a CreateCacheSecurityGroup action.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CreateCacheSecurityGroupRequest object.CreateCacheSecurityGroupRequest(String cacheSecurityGroupName, String description) Constructs a new CreateCacheSecurityGroupRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanA name for the cache security group.A description for the cache security group.inthashCode()voidsetCacheSecurityGroupName(String cacheSecurityGroupName) A name for the cache security group.voidsetDescription(String description) A description for the cache security group.toString()Returns a string representation of this object; useful for testing and debugging.withCacheSecurityGroupName(String cacheSecurityGroupName) A name for the cache security group.withDescription(String description) A description for the cache security group.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateCacheSecurityGroupRequest
public CreateCacheSecurityGroupRequest()Default constructor for CreateCacheSecurityGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CreateCacheSecurityGroupRequest
Constructs a new CreateCacheSecurityGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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:
mysecuritygroupdescription- A description for the cache security group.
-
-
Method Details
-
setCacheSecurityGroupName
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- Parameters:
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
-
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- Returns:
- 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
-
withCacheSecurityGroupName
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- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A description for the cache security group.
- Parameters:
description- A description for the cache security group.
-
getDescription
A description for the cache security group.
- Returns:
- A description for the cache security group.
-
withDescription
A description for the cache security group.
- Parameters:
description- A description for the cache security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-