Class CreateCacheSecurityGroupRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of a CreateCacheSecurityGroup action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.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.boolean
A name for the cache security group.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.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 com.amazonaws.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:
mysecuritygroup
description
- 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-