@Generated(value="software.amazon.awssdk:codegen") public final class Operation extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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 AWS Region and Availability Zone.
|
String |
operationDetails()
Details about the operation (e.g.,
Debian-1GB-Ohio-1). |
OperationType |
operationType()
The type of operation.
|
String |
operationTypeAsString()
The type of operation.
|
String |
resourceName()
The resource name.
|
ResourceType |
resourceType()
The resource type.
|
String |
resourceTypeAsString()
The resource type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Operation.Builder> |
serializableBuilderClass() |
OperationStatus |
status()
The status of the operation.
|
String |
statusAsString()
The status of the operation.
|
Instant |
statusChangedAt()
The timestamp when the status was changed (e.g.,
1479816991.349). |
Operation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the operation.
public final String resourceName()
The resource name.
public final 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
resourceTypeAsString().
ResourceTypepublic final String resourceTypeAsString()
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
resourceTypeAsString().
ResourceTypepublic final Instant createdAt()
The timestamp when the operation was initialized (e.g., 1479816991.349).
1479816991.349).public final ResourceLocation location()
The AWS Region and Availability Zone.
public final Boolean isTerminal()
A Boolean value indicating whether the operation is terminal.
public final String operationDetails()
Details about the operation (e.g., Debian-1GB-Ohio-1).
Debian-1GB-Ohio-1).public final 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
operationTypeAsString().
OperationTypepublic final String operationTypeAsString()
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
operationTypeAsString().
OperationTypepublic final 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
statusAsString().
OperationStatuspublic final String statusAsString()
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
statusAsString().
OperationStatuspublic final Instant statusChangedAt()
The timestamp when the status was changed (e.g., 1479816991.349).
1479816991.349).public final String errorCode()
The error code.
public final String errorDetails()
The error details.
public Operation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Operation.Builder,Operation>public static Operation.Builder builder()
public static Class<? extends Operation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.