@Generated(value="software.amazon.awssdk:codegen") public final class TransitGatewayConnect extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayConnect.Builder,TransitGatewayConnect>
Describes a transit gateway Connect attachment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransitGatewayConnect.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TransitGatewayConnect.Builder |
builder() |
Instant |
creationTime()
The creation time.
|
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).
|
TransitGatewayConnectOptions |
options()
The Connect attachment options.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransitGatewayConnect.Builder> |
serializableBuilderClass() |
TransitGatewayAttachmentState |
state()
The state of the attachment.
|
String |
stateAsString()
The state of the attachment.
|
List<Tag> |
tags()
The tags for the attachment.
|
TransitGatewayConnect.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transitGatewayAttachmentId()
The ID of the Connect attachment.
|
String |
transitGatewayId()
The ID of the transit gateway.
|
String |
transportTransitGatewayAttachmentId()
The ID of the attachment from which the Connect attachment was created.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String transitGatewayAttachmentId()
The ID of the Connect attachment.
public final String transportTransitGatewayAttachmentId()
The ID of the attachment from which the Connect attachment was created.
public final String transitGatewayId()
The ID of the transit gateway.
public final TransitGatewayAttachmentState state()
The state of the attachment.
If the service returns an enum value that is not available in the current SDK version, state will return
TransitGatewayAttachmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from stateAsString().
TransitGatewayAttachmentStatepublic final String stateAsString()
The state of the attachment.
If the service returns an enum value that is not available in the current SDK version, state will return
TransitGatewayAttachmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from stateAsString().
TransitGatewayAttachmentStatepublic final Instant creationTime()
The creation time.
public final TransitGatewayConnectOptions options()
The Connect attachment options.
public final boolean hasTags()
public final List<Tag> tags()
The tags for the attachment.
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 TransitGatewayConnect.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TransitGatewayConnect.Builder,TransitGatewayConnect>public static TransitGatewayConnect.Builder builder()
public static Class<? extends TransitGatewayConnect.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.