Class StartCalculationExecutionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.athena.model.AthenaResponse
-
- software.amazon.awssdk.services.athena.model.StartCalculationExecutionResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<StartCalculationExecutionResponse.Builder,StartCalculationExecutionResponse>
@Generated("software.amazon.awssdk:codegen") public final class StartCalculationExecutionResponse extends AthenaResponse implements ToCopyableBuilder<StartCalculationExecutionResponse.Builder,StartCalculationExecutionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StartCalculationExecutionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartCalculationExecutionResponse.Builder
builder()
String
calculationExecutionId()
The calculation execution UUID.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends StartCalculationExecutionResponse.Builder>
serializableBuilderClass()
CalculationExecutionState
state()
CREATING
- The calculation is in the process of being created.String
stateAsString()
CREATING
- The calculation is in the process of being created.StartCalculationExecutionResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.athena.model.AthenaResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
calculationExecutionId
public final String calculationExecutionId()
The calculation execution UUID.
- Returns:
- The calculation execution UUID.
-
state
public final CalculationExecutionState state()
CREATING
- The calculation is in the process of being created.CREATED
- The calculation has been created and is ready to run.QUEUED
- The calculation has been queued for processing.RUNNING
- The calculation is running.CANCELING
- A request to cancel the calculation has been received and the system is working to stop it.CANCELED
- The calculation is no longer running as the result of a cancel request.COMPLETED
- The calculation has completed without error.FAILED
- The calculation failed and is no longer running.If the service returns an enum value that is not available in the current SDK version,
state
will returnCalculationExecutionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
CREATING
- The calculation is in the process of being created.CREATED
- The calculation has been created and is ready to run.QUEUED
- The calculation has been queued for processing.RUNNING
- The calculation is running.CANCELING
- A request to cancel the calculation has been received and the system is working to stop it.CANCELED
- The calculation is no longer running as the result of a cancel request.COMPLETED
- The calculation has completed without error.FAILED
- The calculation failed and is no longer running.- See Also:
CalculationExecutionState
-
stateAsString
public final String stateAsString()
CREATING
- The calculation is in the process of being created.CREATED
- The calculation has been created and is ready to run.QUEUED
- The calculation has been queued for processing.RUNNING
- The calculation is running.CANCELING
- A request to cancel the calculation has been received and the system is working to stop it.CANCELED
- The calculation is no longer running as the result of a cancel request.COMPLETED
- The calculation has completed without error.FAILED
- The calculation failed and is no longer running.If the service returns an enum value that is not available in the current SDK version,
state
will returnCalculationExecutionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
CREATING
- The calculation is in the process of being created.CREATED
- The calculation has been created and is ready to run.QUEUED
- The calculation has been queued for processing.RUNNING
- The calculation is running.CANCELING
- A request to cancel the calculation has been received and the system is working to stop it.CANCELED
- The calculation is no longer running as the result of a cancel request.COMPLETED
- The calculation has completed without error.FAILED
- The calculation failed and is no longer running.- See Also:
CalculationExecutionState
-
toBuilder
public StartCalculationExecutionResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<StartCalculationExecutionResponse.Builder,StartCalculationExecutionResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static StartCalculationExecutionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartCalculationExecutionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkResponse
-
-