public class CreateCacheSubnetGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a CreateCacheSubnetGroup action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cacheSubnetGroupDescription
A description for the cache subnet group.
|
private java.lang.String |
cacheSubnetGroupName
A name for the cache subnet group.
|
private SdkInternalList<java.lang.String> |
subnetIds
A list of VPC subnet IDs for the cache subnet group.
|
NOOP
Constructor and Description |
---|
CreateCacheSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCacheSubnetGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheSubnetGroupDescription()
A description for the cache subnet group.
|
java.lang.String |
getCacheSubnetGroupName()
A name for the cache subnet group.
|
java.util.List<java.lang.String> |
getSubnetIds()
A list of VPC subnet IDs for the cache subnet group.
|
int |
hashCode() |
void |
setCacheSubnetGroupDescription(java.lang.String cacheSubnetGroupDescription)
A description for the cache subnet group.
|
void |
setCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)
A name for the cache subnet group.
|
void |
setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of VPC subnet IDs for the cache subnet group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateCacheSubnetGroupRequest |
withCacheSubnetGroupDescription(java.lang.String cacheSubnetGroupDescription)
A description for the cache subnet group.
|
CreateCacheSubnetGroupRequest |
withCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)
A name for the cache subnet group.
|
CreateCacheSubnetGroupRequest |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of VPC subnet IDs for the cache subnet group.
|
CreateCacheSubnetGroupRequest |
withSubnetIds(java.lang.String... subnetIds)
A list of VPC subnet IDs for the cache subnet group.
|
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
private java.lang.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
private java.lang.String cacheSubnetGroupDescription
A description for the cache subnet group.
private SdkInternalList<java.lang.String> subnetIds
A list of VPC subnet IDs for the cache subnet group.
public void setCacheSubnetGroupName(java.lang.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 java.lang.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(java.lang.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(java.lang.String cacheSubnetGroupDescription)
A description for the cache subnet group.
cacheSubnetGroupDescription
- A description for the cache subnet group.public java.lang.String getCacheSubnetGroupDescription()
A description for the cache subnet group.
public CreateCacheSubnetGroupRequest withCacheSubnetGroupDescription(java.lang.String cacheSubnetGroupDescription)
A description for the cache subnet group.
cacheSubnetGroupDescription
- A description for the cache subnet group.public java.util.List<java.lang.String> getSubnetIds()
A list of VPC subnet IDs for the cache subnet group.
public void setSubnetIds(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateCacheSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()