@Generated(value="software.amazon.awssdk:codegen") public final class TransitGatewayAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayAssociation.Builder,TransitGatewayAssociation>
Describes an association between a resource attachment and a transit gateway route table.
Modifier and Type | Class and Description |
---|---|
static interface |
TransitGatewayAssociation.Builder |
Modifier and Type | Method and Description |
---|---|
static TransitGatewayAssociation.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceId()
The ID of the resource.
|
TransitGatewayAttachmentResourceType |
resourceType()
The resource type.
|
String |
resourceTypeAsString()
The resource type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransitGatewayAssociation.Builder> |
serializableBuilderClass() |
TransitGatewayAssociationState |
state()
The state of the association.
|
String |
stateAsString()
The state of the association.
|
TransitGatewayAssociation.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
transitGatewayAttachmentId()
The ID of the attachment.
|
String |
transitGatewayRouteTableId()
The ID of the transit gateway route table.
|
copy
public String transitGatewayRouteTableId()
The ID of the transit gateway route table.
public String transitGatewayAttachmentId()
The ID of the attachment.
public String resourceId()
The ID of the resource.
public TransitGatewayAttachmentResourceType resourceType()
The resource type.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return TransitGatewayAttachmentResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service
is available from resourceTypeAsString()
.
TransitGatewayAttachmentResourceType
public String resourceTypeAsString()
The resource type.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return TransitGatewayAttachmentResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service
is available from resourceTypeAsString()
.
TransitGatewayAttachmentResourceType
public TransitGatewayAssociationState state()
The state of the association.
If the service returns an enum value that is not available in the current SDK version, state
will return
TransitGatewayAssociationState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from stateAsString()
.
TransitGatewayAssociationState
public String stateAsString()
The state of the association.
If the service returns an enum value that is not available in the current SDK version, state
will return
TransitGatewayAssociationState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from stateAsString()
.
TransitGatewayAssociationState
public TransitGatewayAssociation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TransitGatewayAssociation.Builder,TransitGatewayAssociation>
public static TransitGatewayAssociation.Builder builder()
public static Class<? extends TransitGatewayAssociation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.