@Generated(value="software.amazon.awssdk:codegen") public final class ReplicationSubnetGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationSubnetGroup.Builder,ReplicationSubnetGroup>
Describes a subnet group in response to a request by the DescribeReplicationSubnetGroups operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReplicationSubnetGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ReplicationSubnetGroup.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSubnets()
For responses, this returns true if the service returned a value for the Subnets property.
|
boolean |
hasSupportedNetworkTypes()
For responses, this returns true if the service returned a value for the SupportedNetworkTypes property.
|
String |
replicationSubnetGroupDescription()
A description for the replication subnet group.
|
String |
replicationSubnetGroupIdentifier()
The identifier of the replication instance subnet group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReplicationSubnetGroup.Builder> |
serializableBuilderClass() |
String |
subnetGroupStatus()
The status of the subnet group.
|
List<Subnet> |
subnets()
The subnets that are in the subnet group.
|
List<String> |
supportedNetworkTypes()
The IP addressing protocol supported by the subnet group.
|
ReplicationSubnetGroup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The ID of the VPC.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String replicationSubnetGroupIdentifier()
The identifier of the replication instance subnet group.
public final String replicationSubnetGroupDescription()
A description for the replication subnet group.
public final String vpcId()
The ID of the VPC.
public final String subnetGroupStatus()
The status of the subnet group.
public final boolean hasSubnets()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Subnet> subnets()
The subnets that are in the subnet group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubnets() method.
public final boolean hasSupportedNetworkTypes()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> supportedNetworkTypes()
The IP addressing protocol supported by the subnet group. This is used by a replication instance with values such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedNetworkTypes() method.
public ReplicationSubnetGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReplicationSubnetGroup.Builder,ReplicationSubnetGroup>public static ReplicationSubnetGroup.Builder builder()
public static Class<? extends ReplicationSubnetGroup.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.