@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceProperty extends Object implements Serializable, Cloneable, StructuredPojo
A structure that describes a property of a resource.
Constructor and Description |
---|
ResourceProperty() |
Modifier and Type | Method and Description |
---|---|
ResourceProperty |
clone() |
boolean |
equals(Object obj) |
Date |
getLastReportedAt()
The date and time that the information about this resource property was last updated.
|
String |
getName()
The name of this property of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastReportedAt(Date lastReportedAt)
The date and time that the information about this resource property was last updated.
|
void |
setName(String name)
The name of this property of the resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceProperty |
withLastReportedAt(Date lastReportedAt)
The date and time that the information about this resource property was last updated.
|
ResourceProperty |
withName(String name)
The name of this property of the resource.
|
public void setLastReportedAt(Date lastReportedAt)
The date and time that the information about this resource property was last updated.
lastReportedAt
- The date and time that the information about this resource property was last updated.public Date getLastReportedAt()
The date and time that the information about this resource property was last updated.
public ResourceProperty withLastReportedAt(Date lastReportedAt)
The date and time that the information about this resource property was last updated.
lastReportedAt
- The date and time that the information about this resource property was last updated.public void setName(String name)
The name of this property of the resource.
name
- The name of this property of the resource.public String getName()
The name of this property of the resource.
public ResourceProperty withName(String name)
The name of this property of the resource.
name
- The name of this property of the resource.public String toString()
toString
in class Object
Object.toString()
public ResourceProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.