@Generated(value="software.amazon.awssdk:codegen") public class SubnetGroup extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.