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