Class ExecutorsSummary
- java.lang.Object
-
- software.amazon.awssdk.services.athena.model.ExecutorsSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExecutorsSummary.Builder,ExecutorsSummary>
@Generated("software.amazon.awssdk:codegen") public final class ExecutorsSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExecutorsSummary.Builder,ExecutorsSummary>
Contains summary information about an executor.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExecutorsSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutorsSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexecutorId()The UUID of the executor.LongexecutorSize()The smallest unit of compute that a session can request from Athena.ExecutorStateexecutorState()The processing state of the executor.StringexecutorStateAsString()The processing state of the executor.ExecutorTypeexecutorType()The type of executor used for the application (COORDINATOR,GATEWAY, orWORKER).StringexecutorTypeAsString()The type of executor used for the application (COORDINATOR,GATEWAY, orWORKER).<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ExecutorsSummary.Builder>serializableBuilderClass()LongstartDateTime()The date and time that the executor started.LongterminationDateTime()The date and time that the executor was terminated.ExecutorsSummary.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
-
executorId
public final String executorId()
The UUID of the executor.
- Returns:
- The UUID of the executor.
-
executorType
public final ExecutorType executorType()
The type of executor used for the application (
COORDINATOR,GATEWAY, orWORKER).If the service returns an enum value that is not available in the current SDK version,
executorTypewill returnExecutorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutorTypeAsString().- Returns:
- The type of executor used for the application (
COORDINATOR,GATEWAY, orWORKER). - See Also:
ExecutorType
-
executorTypeAsString
public final String executorTypeAsString()
The type of executor used for the application (
COORDINATOR,GATEWAY, orWORKER).If the service returns an enum value that is not available in the current SDK version,
executorTypewill returnExecutorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutorTypeAsString().- Returns:
- The type of executor used for the application (
COORDINATOR,GATEWAY, orWORKER). - See Also:
ExecutorType
-
startDateTime
public final Long startDateTime()
The date and time that the executor started.
- Returns:
- The date and time that the executor started.
-
terminationDateTime
public final Long terminationDateTime()
The date and time that the executor was terminated.
- Returns:
- The date and time that the executor was terminated.
-
executorState
public final ExecutorState executorState()
The processing state of the executor. A description of each state follows.
CREATING- The executor is being started, including acquiring resources.CREATED- The executor has been started.REGISTERED- The executor has been registered.TERMINATING- The executor is in the process of shutting down.TERMINATED- The executor is no longer running.FAILED- Due to a failure, the executor is no longer running.If the service returns an enum value that is not available in the current SDK version,
executorStatewill returnExecutorState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutorStateAsString().- Returns:
- The processing state of the executor. A description of each state follows.
CREATING- The executor is being started, including acquiring resources.CREATED- The executor has been started.REGISTERED- The executor has been registered.TERMINATING- The executor is in the process of shutting down.TERMINATED- The executor is no longer running.FAILED- Due to a failure, the executor is no longer running. - See Also:
ExecutorState
-
executorStateAsString
public final String executorStateAsString()
The processing state of the executor. A description of each state follows.
CREATING- The executor is being started, including acquiring resources.CREATED- The executor has been started.REGISTERED- The executor has been registered.TERMINATING- The executor is in the process of shutting down.TERMINATED- The executor is no longer running.FAILED- Due to a failure, the executor is no longer running.If the service returns an enum value that is not available in the current SDK version,
executorStatewill returnExecutorState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutorStateAsString().- Returns:
- The processing state of the executor. A description of each state follows.
CREATING- The executor is being started, including acquiring resources.CREATED- The executor has been started.REGISTERED- The executor has been registered.TERMINATING- The executor is in the process of shutting down.TERMINATED- The executor is no longer running.FAILED- Due to a failure, the executor is no longer running. - See Also:
ExecutorState
-
executorSize
public final Long executorSize()
The smallest unit of compute that a session can request from Athena. Size is measured in data processing unit (DPU) values, a relative measure of processing power.
- Returns:
- The smallest unit of compute that a session can request from Athena. Size is measured in data processing unit (DPU) values, a relative measure of processing power.
-
toBuilder
public ExecutorsSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExecutorsSummary.Builder,ExecutorsSummary>
-
builder
public static ExecutorsSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExecutorsSummary.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-