Class Association
- java.lang.Object
-
- com.amazonaws.services.simplesystemsmanagement.model.Association
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Association extends Object implements Serializable, Cloneable
Describes an association of an SSM document and an instance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Association()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Associationclone()booleanequals(Object obj)StringgetInstanceId()The ID of the instance.StringgetName()The name of the SSM document.inthashCode()voidsetInstanceId(String instanceId)The ID of the instance.voidsetName(String name)The name of the SSM document.StringtoString()Returns a string representation of this object; useful for testing and debugging.AssociationwithInstanceId(String instanceId)The ID of the instance.AssociationwithName(String name)The name of the SSM document.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the SSM document.
- Parameters:
name- The name of the SSM document.
-
getName
public String getName()
The name of the SSM document.
- Returns:
- The name of the SSM document.
-
withName
public Association withName(String name)
The name of the SSM document.
- Parameters:
name- The name of the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
public void setInstanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.
-
getInstanceId
public String getInstanceId()
The ID of the instance.
- Returns:
- The ID of the instance.
-
withInstanceId
public Association withInstanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Association clone()
-
-