@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OperationSummary extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that contains information about an operation that matches the criteria that you specified in a ListOperations request.
| Constructor and Description |
|---|
OperationSummary() |
| Modifier and Type | Method and Description |
|---|---|
OperationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID for an operation.
|
String |
getStatus()
The status of the operation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setId(String id)
The ID for an operation.
|
void |
setStatus(String status)
The status of the operation.
|
String |
toString()
Returns a string representation of this object.
|
OperationSummary |
withId(String id)
The ID for an operation.
|
OperationSummary |
withStatus(OperationStatus status)
The status of the operation.
|
OperationSummary |
withStatus(String status)
The status of the operation.
|
public void setId(String id)
The ID for an operation.
id - The ID for an operation.public String getId()
The ID for an operation.
public OperationSummary withId(String id)
The ID for an operation.
id - The ID for an operation.public void setStatus(String status)
The status of the operation. Values include the following:
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Cloud Map is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage.
status - The status of the operation. Values include the following:
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Cloud Map is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage.
OperationStatuspublic String getStatus()
The status of the operation. Values include the following:
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Cloud Map is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage.
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Cloud Map is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage.
OperationStatuspublic OperationSummary withStatus(String status)
The status of the operation. Values include the following:
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Cloud Map is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage.
status - The status of the operation. Values include the following:
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Cloud Map is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage.
OperationStatuspublic OperationSummary withStatus(OperationStatus status)
The status of the operation. Values include the following:
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Cloud Map is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage.
status - The status of the operation. Values include the following:
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Cloud Map is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage.
OperationStatuspublic String toString()
toString in class ObjectObject.toString()public OperationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.