@Generated(value="software.amazon.awssdk:codegen") public final class AssociatedGateway extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssociatedGateway.Builder,AssociatedGateway>
Information about the associated gateway.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssociatedGateway.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssociatedGateway.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the associated gateway.
|
String |
ownerAccount()
The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
|
String |
region()
The Region where the associated gateway is located.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociatedGateway.Builder> |
serializableBuilderClass() |
AssociatedGateway.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
GatewayType |
type()
The type of associated gateway.
|
String |
typeAsString()
The type of associated gateway.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the associated gateway.
public final GatewayType type()
The type of associated gateway.
If the service returns an enum value that is not available in the current SDK version, type will return
GatewayType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
GatewayTypepublic final String typeAsString()
The type of associated gateway.
If the service returns an enum value that is not available in the current SDK version, type will return
GatewayType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
GatewayTypepublic final String ownerAccount()
The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
public final String region()
The Region where the associated gateway is located.
public AssociatedGateway.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssociatedGateway.Builder,AssociatedGateway>public static AssociatedGateway.Builder builder()
public static Class<? extends AssociatedGateway.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.