Class LinkAssociation
- java.lang.Object
-
- software.amazon.awssdk.services.networkmanager.model.LinkAssociation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LinkAssociation.Builder,LinkAssociation>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLinkAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkAssociation.Builderbuilder()StringdeviceId()The device ID for the link association.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringglobalNetworkId()The ID of the global network.inthashCode()LinkAssociationStatelinkAssociationState()The state of the association.StringlinkAssociationStateAsString()The state of the association.StringlinkId()The ID of the link.List<SdkField<?>>sdkFields()static Class<? extends LinkAssociation.Builder>serializableBuilderClass()LinkAssociation.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
-
globalNetworkId
public final String globalNetworkId()
The ID of the global network.
- Returns:
- The ID of the global network.
-
deviceId
public final String deviceId()
The device ID for the link association.
- Returns:
- The device ID for the link association.
-
linkId
public final String linkId()
The ID of the link.
- Returns:
- The ID of the link.
-
linkAssociationState
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,
linkAssociationStatewill returnLinkAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlinkAssociationStateAsString().- Returns:
- The state of the association.
- See Also:
LinkAssociationState
-
linkAssociationStateAsString
public final String linkAssociationStateAsString()
The state of the association.
If the service returns an enum value that is not available in the current SDK version,
linkAssociationStatewill returnLinkAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlinkAssociationStateAsString().- Returns:
- The state of the association.
- See Also:
LinkAssociationState
-
toBuilder
public LinkAssociation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LinkAssociation.Builder,LinkAssociation>
-
builder
public static LinkAssociation.Builder builder()
-
serializableBuilderClass
public static Class<? extends LinkAssociation.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.
-
-