@Generated(value="software.amazon.awssdk:codegen") public final class LinkAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LinkAssociation.Builder,LinkAssociation>
Describes the association between a device and a link.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LinkAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LinkAssociation.Builder |
builder() |
String |
deviceId()
The device ID for the link association.
|
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() |
LinkAssociationState |
linkAssociationState()
The state of the association.
|
String |
linkAssociationStateAsString()
The state of the association.
|
String |
linkId()
The ID of the link.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LinkAssociation.Builder> |
serializableBuilderClass() |
LinkAssociation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String globalNetworkId()
The ID of the global network.
public final String deviceId()
The device ID for the link association.
public final String linkId()
The ID of the link.
public final LinkAssociationState linkAssociationState()
The state of the association.
If the service returns an enum value that is not available in the current SDK version,
linkAssociationState will return LinkAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from linkAssociationStateAsString().
LinkAssociationStatepublic final String linkAssociationStateAsString()
The state of the association.
If the service returns an enum value that is not available in the current SDK version,
linkAssociationState will return LinkAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from linkAssociationStateAsString().
LinkAssociationStatepublic LinkAssociation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LinkAssociation.Builder,LinkAssociation>public static LinkAssociation.Builder builder()
public static Class<? extends LinkAssociation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.