@Generated(value="software.amazon.awssdk:codegen") public final class SubnetGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SubnetGroup.Builder,SubnetGroup>
Represents the output of one of the following actions:
CreateSubnetGroup
ModifySubnetGroup
Modifier and Type | Class and Description |
---|---|
static interface |
SubnetGroup.Builder |
Modifier and Type | Method and Description |
---|---|
static SubnetGroup.Builder |
builder() |
String |
description()
The description of the subnet group.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SubnetGroup.Builder> |
serializableBuilderClass() |
String |
subnetGroupName()
The name of the subnet group.
|
List<Subnet> |
subnets()
A list of subnets associated with the subnet group.
|
SubnetGroup.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcId()
The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
|
copy
public String subnetGroupName()
The name of the subnet group.
public String description()
The description of the subnet group.
public String vpcId()
The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
public List<Subnet> subnets()
A list of subnets associated with the subnet group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public SubnetGroup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SubnetGroup.Builder,SubnetGroup>
public static SubnetGroup.Builder builder()
public static Class<? extends SubnetGroup.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.