@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
transitGatewayArn()
The Amazon Resource Name (ARN) of the transit gateway.
|
String |
transitGatewayId()
The ID of the transit gateway.
|
copy
public String transitGatewayId()
The ID of the transit gateway.
public String transitGatewayArn()
The Amazon Resource Name (ARN) of the transit gateway.
public 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()
.
TransitGatewayState
public 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()
.
TransitGatewayState
public String ownerId()
The ID of the AWS account ID that owns the transit gateway.
public String description()
The description of the transit gateway.
public Instant creationTime()
The creation time.
public TransitGatewayOptions options()
The transit gateway options.
public List<Tag> tags()
The tags for the transit gateway.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public TransitGateway.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TransitGateway.Builder,TransitGateway>
public static TransitGateway.Builder builder()
public static Class<? extends TransitGateway.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.