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 Association
clone()
boolean
equals(Object obj)
String
getInstanceId()
The ID of the instance.String
getName()
The name of the SSM document.int
hashCode()
void
setInstanceId(String instanceId)
The ID of the instance.void
setName(String name)
The name of the SSM document.String
toString()
Returns a string representation of this object; useful for testing and debugging.Association
withInstanceId(String instanceId)
The ID of the instance.Association
withName(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Association clone()
-
-