Class AsyncOperation
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.AsyncOperation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AsyncOperation.Builder,AsyncOperation>
@Generated("software.amazon.awssdk:codegen") public final class AsyncOperation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AsyncOperation.Builder,AsyncOperation>
A container for the information about an asynchronous operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAsyncOperation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AsyncOperation.Builderbuilder()InstantcreationTime()The time that the request was sent to the service.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AsyncOperationNameoperation()The specific operation for the asynchronous request.StringoperationAsString()The specific operation for the asynchronous request.AsyncRequestParametersrequestParameters()The parameters associated with the request.StringrequestStatus()The current status of the request.StringrequestTokenARN()The request token associated with the request.AsyncResponseDetailsresponseDetails()The details of the response.List<SdkField<?>>sdkFields()static Class<? extends AsyncOperation.Builder>serializableBuilderClass()AsyncOperation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
creationTime
public final Instant creationTime()
The time that the request was sent to the service.
- Returns:
- The time that the request was sent to the service.
-
operation
public final AsyncOperationName operation()
The specific operation for the asynchronous request.
If the service returns an enum value that is not available in the current SDK version,
operationwill returnAsyncOperationName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationAsString().- Returns:
- The specific operation for the asynchronous request.
- See Also:
AsyncOperationName
-
operationAsString
public final String operationAsString()
The specific operation for the asynchronous request.
If the service returns an enum value that is not available in the current SDK version,
operationwill returnAsyncOperationName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationAsString().- Returns:
- The specific operation for the asynchronous request.
- See Also:
AsyncOperationName
-
requestTokenARN
public final String requestTokenARN()
The request token associated with the request.
- Returns:
- The request token associated with the request.
-
requestParameters
public final AsyncRequestParameters requestParameters()
The parameters associated with the request.
- Returns:
- The parameters associated with the request.
-
requestStatus
public final String requestStatus()
The current status of the request.
- Returns:
- The current status of the request.
-
responseDetails
public final AsyncResponseDetails responseDetails()
The details of the response.
- Returns:
- The details of the response.
-
toBuilder
public AsyncOperation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AsyncOperation.Builder,AsyncOperation>
-
builder
public static AsyncOperation.Builder builder()
-
serializableBuilderClass
public static Class<? extends AsyncOperation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-