@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectPeerAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Describes a core network Connect peer association.
Constructor and Description |
---|
ConnectPeerAssociation() |
Modifier and Type | Method and Description |
---|---|
ConnectPeerAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getConnectPeerId()
The ID of the Connect peer.
|
String |
getDeviceId()
The ID of the device to connect to.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
String |
getLinkId()
The ID of the link.
|
String |
getState()
The state of the Connect peer association.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectPeerId(String connectPeerId)
The ID of the Connect peer.
|
void |
setDeviceId(String deviceId)
The ID of the device to connect to.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setLinkId(String linkId)
The ID of the link.
|
void |
setState(String state)
The state of the Connect peer association.
|
String |
toString()
Returns a string representation of this object.
|
ConnectPeerAssociation |
withConnectPeerId(String connectPeerId)
The ID of the Connect peer.
|
ConnectPeerAssociation |
withDeviceId(String deviceId)
The ID of the device to connect to.
|
ConnectPeerAssociation |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
ConnectPeerAssociation |
withLinkId(String linkId)
The ID of the link.
|
ConnectPeerAssociation |
withState(ConnectPeerAssociationState state)
The state of the Connect peer association.
|
ConnectPeerAssociation |
withState(String state)
The state of the Connect peer association.
|
public void setConnectPeerId(String connectPeerId)
The ID of the Connect peer.
connectPeerId
- The ID of the Connect peer.public String getConnectPeerId()
The ID of the Connect peer.
public ConnectPeerAssociation withConnectPeerId(String connectPeerId)
The ID of the Connect peer.
connectPeerId
- The ID of the Connect peer.public void setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public ConnectPeerAssociation withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public void setDeviceId(String deviceId)
The ID of the device to connect to.
deviceId
- The ID of the device to connect to.public String getDeviceId()
The ID of the device to connect to.
public ConnectPeerAssociation withDeviceId(String deviceId)
The ID of the device to connect to.
deviceId
- The ID of the device to connect to.public void setLinkId(String linkId)
The ID of the link.
linkId
- The ID of the link.public String getLinkId()
The ID of the link.
public ConnectPeerAssociation withLinkId(String linkId)
The ID of the link.
linkId
- The ID of the link.public void setState(String state)
The state of the Connect peer association.
state
- The state of the Connect peer association.ConnectPeerAssociationState
public String getState()
The state of the Connect peer association.
ConnectPeerAssociationState
public ConnectPeerAssociation withState(String state)
The state of the Connect peer association.
state
- The state of the Connect peer association.ConnectPeerAssociationState
public ConnectPeerAssociation withState(ConnectPeerAssociationState state)
The state of the Connect peer association.
state
- The state of the Connect peer association.ConnectPeerAssociationState
public String toString()
toString
in class Object
Object.toString()
public ConnectPeerAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.