@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 String transitGatewayAttachmentId()
The ID of the Connect attachment.
public String transportTransitGatewayAttachmentId()
The ID of the attachment from which the Connect attachment was created.
public String transitGatewayId()
The ID of the transit gateway.
public 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 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 Instant creationTime()
The creation time.
public TransitGatewayConnectOptions options()
The Connect attachment options.
public boolean hasTags()
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.