@Generated(value="software.amazon.awssdk:codegen") public class Operation extends Object implements StructuredPojo, ToCopyableBuilder<Operation.Builder,Operation>
Describes the API operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Operation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Operation.Builder |
builder() |
Instant |
createdAt()
The timestamp when the operation was initialized (e.g.,
1479816991.349). |
boolean |
equals(Object obj) |
String |
errorCode()
The error code.
|
String |
errorDetails()
The error details.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the operation.
|
Boolean |
isTerminal()
A Boolean value indicating whether the operation is terminal.
|
ResourceLocation |
location()
The region and Availability Zone.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
operationDetails()
Details about the operation (e.g.,
Debian-1GB-Ohio-1). |
OperationType |
operationType()
The type of operation.
|
String |
operationTypeString()
The type of operation.
|
String |
resourceName()
The resource name.
|
ResourceType |
resourceType()
The resource type.
|
String |
resourceTypeString()
The resource type.
|
static Class<? extends Operation.Builder> |
serializableBuilderClass() |
OperationStatus |
status()
The status of the operation.
|
Instant |
statusChangedAt()
The timestamp when the status was changed (e.g.,
1479816991.349). |
String |
statusString()
The status of the operation.
|
Operation.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String id()
The ID of the operation.
public String resourceName()
The resource name.
public ResourceType resourceType()
The resource type.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeString().
ResourceTypepublic String resourceTypeString()
The resource type.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeString().
ResourceTypepublic Instant createdAt()
The timestamp when the operation was initialized (e.g., 1479816991.349).
1479816991.349).public ResourceLocation location()
The region and Availability Zone.
public Boolean isTerminal()
A Boolean value indicating whether the operation is terminal.
public String operationDetails()
Details about the operation (e.g., Debian-1GB-Ohio-1).
Debian-1GB-Ohio-1).public OperationType operationType()
The type of operation.
If the service returns an enum value that is not available in the current SDK version, operationType
will return OperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operationTypeString().
OperationTypepublic String operationTypeString()
The type of operation.
If the service returns an enum value that is not available in the current SDK version, operationType
will return OperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operationTypeString().
OperationTypepublic OperationStatus status()
The status of the operation.
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
statusString().
OperationStatuspublic String statusString()
The status of the operation.
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
statusString().
OperationStatuspublic Instant statusChangedAt()
The timestamp when the status was changed (e.g., 1479816991.349).
1479816991.349).public String errorCode()
The error code.
public String errorDetails()
The error details.
public Operation.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Operation.Builder,Operation>public static Operation.Builder builder()
public static Class<? extends Operation.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.