@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceSummary extends Object implements Serializable, Cloneable, StructuredPojo
The details about the instance.
Constructor and Description |
---|
InstanceSummary() |
Modifier and Type | Method and Description |
---|---|
InstanceSummary |
clone() |
boolean |
equals(Object obj) |
Instance |
getInstance()
A structure containing details about the instance.
|
Date |
getLastUpdatedAt()
When the instance summary was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstance(Instance instance)
A structure containing details about the instance.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
When the instance summary was last updated.
|
String |
toString()
Returns a string representation of this object.
|
InstanceSummary |
withInstance(Instance instance)
A structure containing details about the instance.
|
InstanceSummary |
withLastUpdatedAt(Date lastUpdatedAt)
When the instance summary was last updated.
|
public void setInstance(Instance instance)
A structure containing details about the instance.
instance
- A structure containing details about the instance.public Instance getInstance()
A structure containing details about the instance.
public InstanceSummary withInstance(Instance instance)
A structure containing details about the instance.
instance
- A structure containing details about the instance.public void setLastUpdatedAt(Date lastUpdatedAt)
When the instance summary was last updated.
lastUpdatedAt
- When the instance summary was last updated.public Date getLastUpdatedAt()
When the instance summary was last updated.
public InstanceSummary withLastUpdatedAt(Date lastUpdatedAt)
When the instance summary was last updated.
lastUpdatedAt
- When the instance summary was last updated.public String toString()
toString
in class Object
Object.toString()
public InstanceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.