@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceAssociation extends Object implements Serializable, Cloneable, StructuredPojo
One or more association documents on the instance.
Constructor and Description |
---|
InstanceAssociation() |
Modifier and Type | Method and Description |
---|---|
InstanceAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationId()
The association ID.
|
String |
getAssociationVersion()
Version information for the association on the instance.
|
String |
getContent()
The content of the association document for the instance(s).
|
String |
getInstanceId()
The instance ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationId(String associationId)
The association ID.
|
void |
setAssociationVersion(String associationVersion)
Version information for the association on the instance.
|
void |
setContent(String content)
The content of the association document for the instance(s).
|
void |
setInstanceId(String instanceId)
The instance ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceAssociation |
withAssociationId(String associationId)
The association ID.
|
InstanceAssociation |
withAssociationVersion(String associationVersion)
Version information for the association on the instance.
|
InstanceAssociation |
withContent(String content)
The content of the association document for the instance(s).
|
InstanceAssociation |
withInstanceId(String instanceId)
The instance ID.
|
public void setAssociationId(String associationId)
The association ID.
associationId
- The association ID.public String getAssociationId()
The association ID.
public InstanceAssociation withAssociationId(String associationId)
The association ID.
associationId
- The association ID.public void setInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public String getInstanceId()
The instance ID.
public InstanceAssociation withInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public void setContent(String content)
The content of the association document for the instance(s).
content
- The content of the association document for the instance(s).public String getContent()
The content of the association document for the instance(s).
public InstanceAssociation withContent(String content)
The content of the association document for the instance(s).
content
- The content of the association document for the instance(s).public void setAssociationVersion(String associationVersion)
Version information for the association on the instance.
associationVersion
- Version information for the association on the instance.public String getAssociationVersion()
Version information for the association on the instance.
public InstanceAssociation withAssociationVersion(String associationVersion)
Version information for the association on the instance.
associationVersion
- Version information for the association on the instance.public String toString()
toString
in class Object
Object.toString()
public InstanceAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.