@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlacementDescription extends Object implements Serializable, Cloneable, StructuredPojo
An object describing a project's placement.
Constructor and Description |
---|
PlacementDescription() |
Modifier and Type | Method and Description |
---|---|
PlacementDescription |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
PlacementDescription |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
PlacementDescription |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
The user-defined attributes associated with the placement.
|
Date |
getCreatedDate()
The date when the placement was initially created, in UNIX epoch time format.
|
String |
getPlacementName()
The name of the placement.
|
String |
getProjectName()
The name of the project containing the placement.
|
Date |
getUpdatedDate()
The date when the placement was last updated, in UNIX epoch time format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,String> attributes)
The user-defined attributes associated with the placement.
|
void |
setCreatedDate(Date createdDate)
The date when the placement was initially created, in UNIX epoch time format.
|
void |
setPlacementName(String placementName)
The name of the placement.
|
void |
setProjectName(String projectName)
The name of the project containing the placement.
|
void |
setUpdatedDate(Date updatedDate)
The date when the placement was last updated, in UNIX epoch time format.
|
String |
toString()
Returns a string representation of this object.
|
PlacementDescription |
withAttributes(Map<String,String> attributes)
The user-defined attributes associated with the placement.
|
PlacementDescription |
withCreatedDate(Date createdDate)
The date when the placement was initially created, in UNIX epoch time format.
|
PlacementDescription |
withPlacementName(String placementName)
The name of the placement.
|
PlacementDescription |
withProjectName(String projectName)
The name of the project containing the placement.
|
PlacementDescription |
withUpdatedDate(Date updatedDate)
The date when the placement was last updated, in UNIX epoch time format.
|
public void setProjectName(String projectName)
The name of the project containing the placement.
projectName
- The name of the project containing the placement.public String getProjectName()
The name of the project containing the placement.
public PlacementDescription withProjectName(String projectName)
The name of the project containing the placement.
projectName
- The name of the project containing the placement.public void setPlacementName(String placementName)
The name of the placement.
placementName
- The name of the placement.public String getPlacementName()
The name of the placement.
public PlacementDescription withPlacementName(String placementName)
The name of the placement.
placementName
- The name of the placement.public Map<String,String> getAttributes()
The user-defined attributes associated with the placement.
public void setAttributes(Map<String,String> attributes)
The user-defined attributes associated with the placement.
attributes
- The user-defined attributes associated with the placement.public PlacementDescription withAttributes(Map<String,String> attributes)
The user-defined attributes associated with the placement.
attributes
- The user-defined attributes associated with the placement.public PlacementDescription addAttributesEntry(String key, String value)
public PlacementDescription clearAttributesEntries()
public void setCreatedDate(Date createdDate)
The date when the placement was initially created, in UNIX epoch time format.
createdDate
- The date when the placement was initially created, in UNIX epoch time format.public Date getCreatedDate()
The date when the placement was initially created, in UNIX epoch time format.
public PlacementDescription withCreatedDate(Date createdDate)
The date when the placement was initially created, in UNIX epoch time format.
createdDate
- The date when the placement was initially created, in UNIX epoch time format.public void setUpdatedDate(Date updatedDate)
The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then
createdDate
and updatedDate
are the same.
updatedDate
- The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated,
then createdDate
and updatedDate
are the same.public Date getUpdatedDate()
The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then
createdDate
and updatedDate
are the same.
createdDate
and updatedDate
are the same.public PlacementDescription withUpdatedDate(Date updatedDate)
The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then
createdDate
and updatedDate
are the same.
updatedDate
- The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated,
then createdDate
and updatedDate
are the same.public String toString()
toString
in class Object
Object.toString()
public PlacementDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.