@Generated(value="software.amazon.awssdk:codegen") public final class TransitGatewayRouteTableAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayRouteTableAssociation.Builder,TransitGatewayRouteTableAssociation>
Describes an association between a route table and a resource attachment.
Modifier and Type | Class and Description |
---|---|
static interface |
TransitGatewayRouteTableAssociation.Builder |
Modifier and Type | Method and Description |
---|---|
static TransitGatewayRouteTableAssociation.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 TransitGatewayRouteTableAssociation.Builder> |
serializableBuilderClass() |
TransitGatewayAssociationState |
state()
The state of the association.
|
String |
stateAsString()
The state of the association.
|
TransitGatewayRouteTableAssociation.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.
|
copy
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 TransitGatewayRouteTableAssociation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TransitGatewayRouteTableAssociation.Builder,TransitGatewayRouteTableAssociation>
public static TransitGatewayRouteTableAssociation.Builder builder()
public static Class<? extends TransitGatewayRouteTableAssociation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.