Class CustomerGatewayAssociation
- java.lang.Object
-
- software.amazon.awssdk.services.networkmanager.model.CustomerGatewayAssociation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomerGatewayAssociation.Builder,CustomerGatewayAssociation>
@Generated("software.amazon.awssdk:codegen") public final class CustomerGatewayAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomerGatewayAssociation.Builder,CustomerGatewayAssociation>
Describes the association between a customer gateway, a device, and a link.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomerGatewayAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomerGatewayAssociation.Builderbuilder()StringcustomerGatewayArn()The Amazon Resource Name (ARN) of the customer gateway.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 CustomerGatewayAssociation.Builder>serializableBuilderClass()CustomerGatewayAssociationStatestate()The association state.StringstateAsString()The association state.CustomerGatewayAssociation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
customerGatewayArn
public final String customerGatewayArn()
The Amazon Resource Name (ARN) of the customer gateway.
- Returns:
- The Amazon Resource Name (ARN) of the customer gateway.
-
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 CustomerGatewayAssociationState state()
The association state.
If the service returns an enum value that is not available in the current SDK version,
statewill returnCustomerGatewayAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The association state.
- See Also:
CustomerGatewayAssociationState
-
stateAsString
public final String stateAsString()
The association state.
If the service returns an enum value that is not available in the current SDK version,
statewill returnCustomerGatewayAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The association state.
- See Also:
CustomerGatewayAssociationState
-
toBuilder
public CustomerGatewayAssociation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomerGatewayAssociation.Builder,CustomerGatewayAssociation>
-
builder
public static CustomerGatewayAssociation.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomerGatewayAssociation.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.
-
-