@Generated(value="software.amazon.awssdk:codegen") public final class DBSubnetGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DBSubnetGroup.Builder,DBSubnetGroup>
Contains the details of an Amazon Neptune DB subnet group.
This data type is used as a response element in the DescribeDBSubnetGroups action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DBSubnetGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DBSubnetGroup.Builder |
builder() |
String |
dbSubnetGroupArn()
The Amazon Resource Name (ARN) for the DB subnet group.
|
String |
dbSubnetGroupDescription()
Provides the description of the DB subnet group.
|
String |
dbSubnetGroupName()
The name of the DB 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 DBSubnetGroup.Builder> |
serializableBuilderClass() |
String |
subnetGroupStatus()
Provides the status of the DB subnet group.
|
List<Subnet> |
subnets()
Contains a list of Subnet elements.
|
DBSubnetGroup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
Provides the VpcId of the DB subnet group.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String dbSubnetGroupName()
The name of the DB subnet group.
public String dbSubnetGroupDescription()
Provides the description of the DB subnet group.
public String vpcId()
Provides the VpcId of the DB subnet group.
public String subnetGroupStatus()
Provides the status of the DB subnet group.
public boolean hasSubnets()
public List<Subnet> subnets()
Contains a list of Subnet elements.
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 String dbSubnetGroupArn()
The Amazon Resource Name (ARN) for the DB subnet group.
public DBSubnetGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DBSubnetGroup.Builder,DBSubnetGroup>public static DBSubnetGroup.Builder builder()
public static Class<? extends DBSubnetGroup.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.