@Generated(value="software.amazon.awssdk:codegen") public final class Subnet extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Subnet.Builder,Subnet>
Represents the subnet associated with a cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with MemoryDB.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Subnet.Builder |
| Modifier and Type | Method and Description |
|---|---|
AvailabilityZone |
availabilityZone()
The Availability Zone where the subnet resides
|
static Subnet.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
identifier()
The unique identifier for the subnet.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Subnet.Builder> |
serializableBuilderClass() |
Subnet.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String identifier()
The unique identifier for the subnet.
public final AvailabilityZone availabilityZone()
The Availability Zone where the subnet resides
public Subnet.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Subnet.Builder,Subnet>public static Subnet.Builder builder()
public static Class<? extends Subnet.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.