@Generated(value="software.amazon.awssdk:codegen") public final class CreateCacheSubnetGroupRequest extends ElastiCacheRequest implements ToCopyableBuilder<CreateCacheSubnetGroupRequest.Builder,CreateCacheSubnetGroupRequest>
Represents the input of a CreateCacheSubnetGroup operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateCacheSubnetGroupRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateCacheSubnetGroupRequest.Builder |
builder() |
String |
cacheSubnetGroupDescription()
A description for the cache subnet group.
|
String |
cacheSubnetGroupName()
A name for the cache subnet group.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateCacheSubnetGroupRequest.Builder> |
serializableBuilderClass() |
List<String> |
subnetIds()
A list of VPC subnet IDs for the cache subnet group.
|
CreateCacheSubnetGroupRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
public String cacheSubnetGroupDescription()
A description for the cache subnet group.
public List<String> subnetIds()
A list of VPC subnet IDs for the cache subnet group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateCacheSubnetGroupRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateCacheSubnetGroupRequest.Builder,CreateCacheSubnetGroupRequest>toBuilder in class ElastiCacheRequestpublic static CreateCacheSubnetGroupRequest.Builder builder()
public static Class<? extends CreateCacheSubnetGroupRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.