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