public class AssociationDescription extends Object implements Serializable, Cloneable
Describes an association.
Constructor and Description |
---|
AssociationDescription() |
Modifier and Type | Method and Description |
---|---|
AssociationDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getDate()
The date when the association was made.
|
String |
getInstanceId()
The ID of the instance.
|
String |
getName()
The name of the configuration document.
|
AssociationStatus |
getStatus()
The association status.
|
int |
hashCode() |
void |
setDate(Date dateValue)
The date when the association was made.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setName(String name)
The name of the configuration document.
|
void |
setStatus(AssociationStatus status)
The association status.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociationDescription |
withDate(Date dateValue)
The date when the association was made.
|
AssociationDescription |
withInstanceId(String instanceId)
The ID of the instance.
|
AssociationDescription |
withName(String name)
The name of the configuration document.
|
AssociationDescription |
withStatus(AssociationStatus status)
The association status.
|
public void setName(String name)
The name of the configuration document.
name
- The name of the configuration document.public String getName()
The name of the configuration document.
public AssociationDescription withName(String name)
The name of the configuration document.
name
- The name of the configuration document.public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public AssociationDescription withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setDate(Date dateValue)
The date when the association was made.
dateValue
- The date when the association was made.public Date getDate()
The date when the association was made.
public AssociationDescription withDate(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 String toString()
toString
in class Object
Object.toString()
public AssociationDescription clone()
Copyright © 2015. All rights reserved.