@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LinkAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Describes the association between a device and a link.
Constructor and Description |
---|
LinkAssociation() |
Modifier and Type | Method and Description |
---|---|
LinkAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceId()
The device ID for the link association.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
String |
getLinkAssociationState()
The state of the association.
|
String |
getLinkId()
The ID of the link.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceId(String deviceId)
The device ID for the link association.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setLinkAssociationState(String linkAssociationState)
The state of the association.
|
void |
setLinkId(String linkId)
The ID of the link.
|
String |
toString()
Returns a string representation of this object.
|
LinkAssociation |
withDeviceId(String deviceId)
The device ID for the link association.
|
LinkAssociation |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
LinkAssociation |
withLinkAssociationState(LinkAssociationState linkAssociationState)
The state of the association.
|
LinkAssociation |
withLinkAssociationState(String linkAssociationState)
The state of the association.
|
LinkAssociation |
withLinkId(String linkId)
The ID of the link.
|
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 LinkAssociation withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public void setDeviceId(String deviceId)
The device ID for the link association.
deviceId
- The device ID for the link association.public String getDeviceId()
The device ID for the link association.
public LinkAssociation withDeviceId(String deviceId)
The device ID for the link association.
deviceId
- The device ID for the link association.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 LinkAssociation withLinkId(String linkId)
The ID of the link.
linkId
- The ID of the link.public void setLinkAssociationState(String linkAssociationState)
The state of the association.
linkAssociationState
- The state of the association.LinkAssociationState
public String getLinkAssociationState()
The state of the association.
LinkAssociationState
public LinkAssociation withLinkAssociationState(String linkAssociationState)
The state of the association.
linkAssociationState
- The state of the association.LinkAssociationState
public LinkAssociation withLinkAssociationState(LinkAssociationState linkAssociationState)
The state of the association.
linkAssociationState
- The state of the association.LinkAssociationState
public String toString()
toString
in class Object
Object.toString()
public LinkAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.