@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSubnets()
Returns true if the Subnets property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
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() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 boolean hasSubnets()
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.
You can use hasSubnets() to see if a value was sent in this field.
public SubnetGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SubnetGroup.Builder,SubnetGroup>public static SubnetGroup.Builder builder()
public static Class<? extends SubnetGroup.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.