@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public 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()
.
CustomerGatewayAssociationState
public 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()
.
CustomerGatewayAssociationState
public CustomerGatewayAssociation.Builder toBuilder()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.