public class AssociationDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the parameters for a document.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
dateValue
The date when the association was made.
|
private java.lang.String |
instanceId
The ID of the instance.
|
private java.lang.String |
name
The name of the SSM document.
|
private java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
parameters
A description of the parameters for a document.
|
private AssociationStatus |
status
The association status.
|
Constructor and Description |
---|
AssociationDescription() |
Modifier and Type | Method and Description |
---|---|
AssociationDescription |
addParametersEntry(java.lang.String key,
java.util.List<java.lang.String> value) |
AssociationDescription |
clearParametersEntries()
Removes all the entries added into Parameters.
|
AssociationDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getDate()
The date when the association was made.
|
java.lang.String |
getInstanceId()
The ID of the instance.
|
java.lang.String |
getName()
The name of the SSM document.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getParameters()
A description of the parameters for a document.
|
AssociationStatus |
getStatus()
The association status.
|
int |
hashCode() |
void |
setDate(java.util.Date dateValue)
The date when the association was made.
|
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance.
|
void |
setName(java.lang.String name)
The name of the SSM document.
|
void |
setParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
A description of the parameters for a document.
|
void |
setStatus(AssociationStatus status)
The association status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociationDescription |
withDate(java.util.Date dateValue)
The date when the association was made.
|
AssociationDescription |
withInstanceId(java.lang.String instanceId)
The ID of the instance.
|
AssociationDescription |
withName(java.lang.String name)
The name of the SSM document.
|
AssociationDescription |
withParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
A description of the parameters for a document.
|
AssociationDescription |
withStatus(AssociationStatus status)
The association status.
|
private java.lang.String name
The name of the SSM document.
private java.lang.String instanceId
The ID of the instance.
private java.util.Date dateValue
The date when the association was made.
private AssociationStatus status
The association status.
private java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters
A description of the parameters for a document.
public void setName(java.lang.String name)
The name of the SSM document.
name
- The name of the SSM document.public java.lang.String getName()
The name of the SSM document.
public AssociationDescription withName(java.lang.String name)
The name of the SSM document.
name
- The name of the SSM document.public void setInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public java.lang.String getInstanceId()
The ID of the instance.
public AssociationDescription withInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setDate(java.util.Date dateValue)
The date when the association was made.
dateValue
- The date when the association was made.public java.util.Date getDate()
The date when the association was made.
public AssociationDescription withDate(java.util.Date dateValue)
The date when the association was made.
dateValue
- The date when the association was made.public void setStatus(AssociationStatus status)
The association status.
status
- The association status.public AssociationStatus getStatus()
The association status.
public AssociationDescription withStatus(AssociationStatus status)
The association status.
status
- The association status.public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getParameters()
A description of the parameters for a document.
public void setParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
A description of the parameters for a document.
parameters
- A description of the parameters for a document.public AssociationDescription withParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
A description of the parameters for a document.
parameters
- A description of the parameters for a document.public AssociationDescription addParametersEntry(java.lang.String key, java.util.List<java.lang.String> value)
public AssociationDescription clearParametersEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AssociationDescription clone()
clone
in class java.lang.Object