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 interface
ExecutorsSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutorsSummary.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
executorId()
The UUID of the executor.Long
executorSize()
The smallest unit of compute that a session can request from Athena.ExecutorState
executorState()
The processing state of the executor.String
executorStateAsString()
The processing state of the executor.ExecutorType
executorType()
The type of executor used for the application (COORDINATOR
,GATEWAY
, orWORKER
).String
executorTypeAsString()
The type of executor used for the application (COORDINATOR
,GATEWAY
, orWORKER
).<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends ExecutorsSummary.Builder>
serializableBuilderClass()
Long
startDateTime()
The date and time that the executor started.Long
terminationDateTime()
The date and time that the executor was terminated.ExecutorsSummary.Builder
toBuilder()
String
toString()
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,
executorType
will 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,
executorType
will 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,
executorState
will 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,
executorState
will 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:
toBuilder
in 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:
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.
-
-