@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Operation extends Object implements Serializable, Cloneable, StructuredPojo
Describes the API operation.
Constructor and Description |
---|
Operation() |
Modifier and Type | Method and Description |
---|---|
Operation |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The timestamp when the operation was initialized (
1479816991.349 ). |
String |
getErrorCode()
The error code.
|
String |
getErrorDetails()
The error details.
|
String |
getId()
The ID of the operation.
|
Boolean |
getIsTerminal()
A Boolean value indicating whether the operation is terminal.
|
ResourceLocation |
getLocation()
The Amazon Web Services Region and Availability Zone.
|
String |
getOperationDetails()
Details about the operation (
Debian-1GB-Ohio-1 ). |
String |
getOperationType()
The type of operation.
|
String |
getResourceName()
The resource name.
|
String |
getResourceType()
The resource type.
|
String |
getStatus()
The status of the operation.
|
Date |
getStatusChangedAt()
The timestamp when the status was changed (
1479816991.349 ). |
int |
hashCode() |
Boolean |
isTerminal()
A Boolean value indicating whether the operation is terminal.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The timestamp when the operation was initialized (
1479816991.349 ). |
void |
setErrorCode(String errorCode)
The error code.
|
void |
setErrorDetails(String errorDetails)
The error details.
|
void |
setId(String id)
The ID of the operation.
|
void |
setIsTerminal(Boolean isTerminal)
A Boolean value indicating whether the operation is terminal.
|
void |
setLocation(ResourceLocation location)
The Amazon Web Services Region and Availability Zone.
|
void |
setOperationDetails(String operationDetails)
Details about the operation (
Debian-1GB-Ohio-1 ). |
void |
setOperationType(OperationType operationType)
The type of operation.
|
void |
setOperationType(String operationType)
The type of operation.
|
void |
setResourceName(String resourceName)
The resource name.
|
void |
setResourceType(ResourceType resourceType)
The resource type.
|
void |
setResourceType(String resourceType)
The resource type.
|
void |
setStatus(OperationStatus status)
The status of the operation.
|
void |
setStatus(String status)
The status of the operation.
|
void |
setStatusChangedAt(Date statusChangedAt)
The timestamp when the status was changed (
1479816991.349 ). |
String |
toString()
Returns a string representation of this object.
|
Operation |
withCreatedAt(Date createdAt)
The timestamp when the operation was initialized (
1479816991.349 ). |
Operation |
withErrorCode(String errorCode)
The error code.
|
Operation |
withErrorDetails(String errorDetails)
The error details.
|
Operation |
withId(String id)
The ID of the operation.
|
Operation |
withIsTerminal(Boolean isTerminal)
A Boolean value indicating whether the operation is terminal.
|
Operation |
withLocation(ResourceLocation location)
The Amazon Web Services Region and Availability Zone.
|
Operation |
withOperationDetails(String operationDetails)
Details about the operation (
Debian-1GB-Ohio-1 ). |
Operation |
withOperationType(OperationType operationType)
The type of operation.
|
Operation |
withOperationType(String operationType)
The type of operation.
|
Operation |
withResourceName(String resourceName)
The resource name.
|
Operation |
withResourceType(ResourceType resourceType)
The resource type.
|
Operation |
withResourceType(String resourceType)
The resource type.
|
Operation |
withStatus(OperationStatus status)
The status of the operation.
|
Operation |
withStatus(String status)
The status of the operation.
|
Operation |
withStatusChangedAt(Date statusChangedAt)
The timestamp when the status was changed (
1479816991.349 ). |
public void setId(String id)
The ID of the operation.
id
- The ID of the operation.public String getId()
The ID of the operation.
public Operation withId(String id)
The ID of the operation.
id
- The ID of the operation.public void setResourceName(String resourceName)
The resource name.
resourceName
- The resource name.public String getResourceName()
The resource name.
public Operation withResourceName(String resourceName)
The resource name.
resourceName
- The resource name.public void setResourceType(String resourceType)
The resource type.
resourceType
- The resource type.ResourceType
public String getResourceType()
The resource type.
ResourceType
public Operation withResourceType(String resourceType)
The resource type.
resourceType
- The resource type.ResourceType
public void setResourceType(ResourceType resourceType)
The resource type.
resourceType
- The resource type.ResourceType
public Operation withResourceType(ResourceType resourceType)
The resource type.
resourceType
- The resource type.ResourceType
public void setCreatedAt(Date createdAt)
The timestamp when the operation was initialized (1479816991.349
).
createdAt
- The timestamp when the operation was initialized (1479816991.349
).public Date getCreatedAt()
The timestamp when the operation was initialized (1479816991.349
).
1479816991.349
).public Operation withCreatedAt(Date createdAt)
The timestamp when the operation was initialized (1479816991.349
).
createdAt
- The timestamp when the operation was initialized (1479816991.349
).public void setLocation(ResourceLocation location)
The Amazon Web Services Region and Availability Zone.
location
- The Amazon Web Services Region and Availability Zone.public ResourceLocation getLocation()
The Amazon Web Services Region and Availability Zone.
public Operation withLocation(ResourceLocation location)
The Amazon Web Services Region and Availability Zone.
location
- The Amazon Web Services Region and Availability Zone.public void setIsTerminal(Boolean isTerminal)
A Boolean value indicating whether the operation is terminal.
isTerminal
- A Boolean value indicating whether the operation is terminal.public Boolean getIsTerminal()
A Boolean value indicating whether the operation is terminal.
public Operation withIsTerminal(Boolean isTerminal)
A Boolean value indicating whether the operation is terminal.
isTerminal
- A Boolean value indicating whether the operation is terminal.public Boolean isTerminal()
A Boolean value indicating whether the operation is terminal.
public void setOperationDetails(String operationDetails)
Details about the operation (Debian-1GB-Ohio-1
).
operationDetails
- Details about the operation (Debian-1GB-Ohio-1
).public String getOperationDetails()
Details about the operation (Debian-1GB-Ohio-1
).
Debian-1GB-Ohio-1
).public Operation withOperationDetails(String operationDetails)
Details about the operation (Debian-1GB-Ohio-1
).
operationDetails
- Details about the operation (Debian-1GB-Ohio-1
).public void setOperationType(String operationType)
The type of operation.
operationType
- The type of operation.OperationType
public String getOperationType()
The type of operation.
OperationType
public Operation withOperationType(String operationType)
The type of operation.
operationType
- The type of operation.OperationType
public void setOperationType(OperationType operationType)
The type of operation.
operationType
- The type of operation.OperationType
public Operation withOperationType(OperationType operationType)
The type of operation.
operationType
- The type of operation.OperationType
public void setStatus(String status)
The status of the operation.
status
- The status of the operation.OperationStatus
public String getStatus()
The status of the operation.
OperationStatus
public Operation withStatus(String status)
The status of the operation.
status
- The status of the operation.OperationStatus
public void setStatus(OperationStatus status)
The status of the operation.
status
- The status of the operation.OperationStatus
public Operation withStatus(OperationStatus status)
The status of the operation.
status
- The status of the operation.OperationStatus
public void setStatusChangedAt(Date statusChangedAt)
The timestamp when the status was changed (1479816991.349
).
statusChangedAt
- The timestamp when the status was changed (1479816991.349
).public Date getStatusChangedAt()
The timestamp when the status was changed (1479816991.349
).
1479816991.349
).public Operation withStatusChangedAt(Date statusChangedAt)
The timestamp when the status was changed (1479816991.349
).
statusChangedAt
- The timestamp when the status was changed (1479816991.349
).public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.public String getErrorCode()
The error code.
public Operation withErrorCode(String errorCode)
The error code.
errorCode
- The error code.public void setErrorDetails(String errorDetails)
The error details.
errorDetails
- The error details.public String getErrorDetails()
The error details.
public Operation withErrorDetails(String errorDetails)
The error details.
errorDetails
- The error details.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.