@Generated(value="software.amazon.awssdk:codegen") public final class TransitGateway extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGateway.Builder,TransitGateway>
Describes a transit gateway.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransitGateway.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TransitGateway.Builder |
builder() |
Instant |
creationTime()
The creation time.
|
String |
description()
The description of the transit gateway.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
TransitGatewayOptions |
options()
The transit gateway options.
|
String |
ownerId()
The ID of the AWS account ID that owns the transit gateway.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransitGateway.Builder> |
serializableBuilderClass() |
TransitGatewayState |
state()
The state of the transit gateway.
|
String |
stateAsString()
The state of the transit gateway.
|
List<Tag> |
tags()
The tags for the transit gateway.
|
TransitGateway.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transitGatewayArn()
The Amazon Resource Name (ARN) of the transit gateway.
|
String |
transitGatewayId()
The ID of the transit gateway.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String transitGatewayId()
The ID of the transit gateway.
public final String transitGatewayArn()
The Amazon Resource Name (ARN) of the transit gateway.
public final TransitGatewayState state()
The state of the transit gateway.
If the service returns an enum value that is not available in the current SDK version, state will return
TransitGatewayState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
TransitGatewayStatepublic final String stateAsString()
The state of the transit gateway.
If the service returns an enum value that is not available in the current SDK version, state will return
TransitGatewayState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
TransitGatewayStatepublic final String ownerId()
The ID of the AWS account ID that owns the transit gateway.
public final String description()
The description of the transit gateway.
public final Instant creationTime()
The creation time.
public final TransitGatewayOptions options()
The transit gateway options.
public final boolean hasTags()
public final List<Tag> tags()
The tags for the transit gateway.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public TransitGateway.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TransitGateway.Builder,TransitGateway>public static TransitGateway.Builder builder()
public static Class<? extends TransitGateway.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.