Class TransitGatewayConnectPeerAssociation
- java.lang.Object
-
- software.amazon.awssdk.services.networkmanager.model.TransitGatewayConnectPeerAssociation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TransitGatewayConnectPeerAssociation.Builder,TransitGatewayConnectPeerAssociation>
@Generated("software.amazon.awssdk:codegen") public final class TransitGatewayConnectPeerAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayConnectPeerAssociation.Builder,TransitGatewayConnectPeerAssociation>
Describes a transit gateway Connect peer association.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTransitGatewayConnectPeerAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransitGatewayConnectPeerAssociation.Builderbuilder()StringdeviceId()The ID of the device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringglobalNetworkId()The ID of the global network.inthashCode()StringlinkId()The ID of the link.List<SdkField<?>>sdkFields()static Class<? extends TransitGatewayConnectPeerAssociation.Builder>serializableBuilderClass()TransitGatewayConnectPeerAssociationStatestate()The state of the association.StringstateAsString()The state of the association.TransitGatewayConnectPeerAssociation.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtransitGatewayConnectPeerArn()The Amazon Resource Name (ARN) of the transit gateway Connect peer.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
transitGatewayConnectPeerArn
public final String transitGatewayConnectPeerArn()
The Amazon Resource Name (ARN) of the transit gateway Connect peer.
- Returns:
- The Amazon Resource Name (ARN) of the transit gateway Connect peer.
-
globalNetworkId
public final String globalNetworkId()
The ID of the global network.
- Returns:
- The ID of the global network.
-
deviceId
public final String deviceId()
The ID of the device.
- Returns:
- The ID of the device.
-
linkId
public final String linkId()
The ID of the link.
- Returns:
- The ID of the link.
-
state
public final TransitGatewayConnectPeerAssociationState state()
The state of the association.
If the service returns an enum value that is not available in the current SDK version,
statewill returnTransitGatewayConnectPeerAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the association.
- See Also:
TransitGatewayConnectPeerAssociationState
-
stateAsString
public final String stateAsString()
The state of the association.
If the service returns an enum value that is not available in the current SDK version,
statewill returnTransitGatewayConnectPeerAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the association.
- See Also:
TransitGatewayConnectPeerAssociationState
-
toBuilder
public TransitGatewayConnectPeerAssociation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TransitGatewayConnectPeerAssociation.Builder,TransitGatewayConnectPeerAssociation>
-
builder
public static TransitGatewayConnectPeerAssociation.Builder builder()
-
serializableBuilderClass
public static Class<? extends TransitGatewayConnectPeerAssociation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-