@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceResult extends Object implements Serializable, Cloneable, StructuredPojo
The result of a successful Resource request, with status for an individual resource.
Constructor and Description |
---|
ResourceResult() |
Modifier and Type | Method and Description |
---|---|
ResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getComponentId()
The component id of the resource.
|
Date |
getLastCheckedTimestamp()
The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.
|
String |
getReadiness()
The readiness of a resource.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComponentId(String componentId)
The component id of the resource.
|
void |
setLastCheckedTimestamp(Date lastCheckedTimestamp)
The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.
|
void |
setReadiness(String readiness)
The readiness of a resource.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceResult |
withComponentId(String componentId)
The component id of the resource.
|
ResourceResult |
withLastCheckedTimestamp(Date lastCheckedTimestamp)
The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.
|
ResourceResult |
withReadiness(Readiness readiness)
The readiness of a resource.
|
ResourceResult |
withReadiness(String readiness)
The readiness of a resource.
|
ResourceResult |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
public void setComponentId(String componentId)
The component id of the resource.
componentId
- The component id of the resource.public String getComponentId()
The component id of the resource.
public ResourceResult withComponentId(String componentId)
The component id of the resource.
componentId
- The component id of the resource.public void setLastCheckedTimestamp(Date lastCheckedTimestamp)
The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.
lastCheckedTimestamp
- The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.public Date getLastCheckedTimestamp()
The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.
public ResourceResult withLastCheckedTimestamp(Date lastCheckedTimestamp)
The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.
lastCheckedTimestamp
- The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.public void setReadiness(String readiness)
The readiness of a resource.
readiness
- The readiness of a resource.Readiness
public String getReadiness()
The readiness of a resource.
Readiness
public ResourceResult withReadiness(String readiness)
The readiness of a resource.
readiness
- The readiness of a resource.Readiness
public ResourceResult withReadiness(Readiness readiness)
The readiness of a resource.
readiness
- The readiness of a resource.Readiness
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource.
public ResourceResult withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public String toString()
toString
in class Object
Object.toString()
public ResourceResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.