@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCacheSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CreateCacheSubnetGroup
operation.
NOOP
Constructor and Description |
---|
CreateCacheSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCacheSubnetGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCacheSubnetGroupDescription()
A description for the cache subnet group.
|
String |
getCacheSubnetGroupName()
A name for the cache subnet group.
|
List<String> |
getSubnetIds()
A list of VPC subnet IDs for the cache subnet group.
|
List<Tag> |
getTags()
A list of tags to be added to this resource.
|
int |
hashCode() |
void |
setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
A description for the cache subnet group.
|
void |
setCacheSubnetGroupName(String cacheSubnetGroupName)
A name for the cache subnet group.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs for the cache subnet group.
|
void |
setTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateCacheSubnetGroupRequest |
withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
A description for the cache subnet group.
|
CreateCacheSubnetGroupRequest |
withCacheSubnetGroupName(String cacheSubnetGroupName)
A name for the cache subnet group.
|
CreateCacheSubnetGroupRequest |
withSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs for the cache subnet group.
|
CreateCacheSubnetGroupRequest |
withSubnetIds(String... subnetIds)
A list of VPC subnet IDs for the cache subnet group.
|
CreateCacheSubnetGroupRequest |
withTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
CreateCacheSubnetGroupRequest |
withTags(Tag... tags)
A list of tags to be added to this resource.
|
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, withSdkRequestTimeout
public void setCacheSubnetGroupName(String cacheSubnetGroupName)
A name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
cacheSubnetGroupName
- A name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
public String getCacheSubnetGroupName()
A name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
public CreateCacheSubnetGroupRequest withCacheSubnetGroupName(String cacheSubnetGroupName)
A name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
cacheSubnetGroupName
- A name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
public void setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
A description for the cache subnet group.
cacheSubnetGroupDescription
- A description for the cache subnet group.public String getCacheSubnetGroupDescription()
A description for the cache subnet group.
public CreateCacheSubnetGroupRequest withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
A description for the cache subnet group.
cacheSubnetGroupDescription
- A description for the cache subnet group.public List<String> getSubnetIds()
A list of VPC subnet IDs for the cache subnet group.
public void setSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs for the cache subnet group.
subnetIds
- A list of VPC subnet IDs for the cache subnet group.public CreateCacheSubnetGroupRequest withSubnetIds(String... subnetIds)
A list of VPC subnet IDs for the cache subnet group.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- A list of VPC subnet IDs for the cache subnet group.public CreateCacheSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs for the cache subnet group.
subnetIds
- A list of VPC subnet IDs for the cache subnet group.public List<Tag> getTags()
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
public void setTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public CreateCacheSubnetGroupRequest withTags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public CreateCacheSubnetGroupRequest withTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public String toString()
toString
in class Object
Object.toString()
public CreateCacheSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()