@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CustomerGatewayAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CustomerGatewayAssociation.Builder |
builder() |
String |
customerGatewayArn()
The Amazon Resource Name (ARN) of the customer gateway.
|
String |
deviceId()
The ID of the device.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
globalNetworkId()
The ID of the global network.
|
int |
hashCode() |
String |
linkId()
The ID of the link.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CustomerGatewayAssociation.Builder> |
serializableBuilderClass() |
CustomerGatewayAssociationState |
state()
The association state.
|
String |
stateAsString()
The association state.
|
CustomerGatewayAssociation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String customerGatewayArn()
The Amazon Resource Name (ARN) of the customer gateway.
public final String globalNetworkId()
The ID of the global network.
public final String deviceId()
The ID of the device.
public final String linkId()
The ID of the link.
public final CustomerGatewayAssociationState state()
The association state.
If the service returns an enum value that is not available in the current SDK version, state will return
CustomerGatewayAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from stateAsString().
CustomerGatewayAssociationStatepublic final String stateAsString()
The association state.
If the service returns an enum value that is not available in the current SDK version, state will return
CustomerGatewayAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from stateAsString().
CustomerGatewayAssociationStatepublic CustomerGatewayAssociation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CustomerGatewayAssociation.Builder,CustomerGatewayAssociation>public static CustomerGatewayAssociation.Builder builder()
public static Class<? extends CustomerGatewayAssociation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.