@Generated(value="software.amazon.awssdk:codegen") public final class OperationSummary extends Object implements StructuredPojo, ToCopyableBuilder<OperationSummary.Builder,OperationSummary>
A complex type that contains information about an operation that matches the criteria that you specified in a ListOperations request.
Modifier and Type | Class and Description |
---|---|
static interface |
OperationSummary.Builder |
Modifier and Type | Method and Description |
---|---|
static OperationSummary.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID for an operation.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends OperationSummary.Builder> |
serializableBuilderClass() |
OperationStatus |
status()
The status of the operation.
|
String |
statusAsString()
The status of the operation.
|
OperationSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
The ID for an operation.
public OperationStatus status()
The status of the operation. Values include the following:
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Amazon Route 53 is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage
.
If the service returns an enum value that is not available in the current SDK version, status
will
return OperationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Amazon Route 53 is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage
.
OperationStatus
public String statusAsString()
The status of the operation. Values include the following:
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Amazon Route 53 is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage
.
If the service returns an enum value that is not available in the current SDK version, status
will
return OperationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
SUBMITTED: This is the initial state immediately after you submit a request.
PENDING: Amazon Route 53 is performing the operation.
SUCCESS: The operation succeeded.
FAIL: The operation failed. For the failure reason, see ErrorMessage
.
OperationStatus
public OperationSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<OperationSummary.Builder,OperationSummary>
public static OperationSummary.Builder builder()
public static Class<? extends OperationSummary.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.