Class ExecutorsSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ExecutorsSummary.Builder,
ExecutorsSummary>
Contains summary information about an executor.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutorsSummary.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The UUID of the executor.final Long
The smallest unit of compute that a session can request from Athena.final ExecutorState
The processing state of the executor.final String
The processing state of the executor.final ExecutorType
The type of executor used for the application (COORDINATOR
,GATEWAY
, orWORKER
).final String
The type of executor used for the application (COORDINATOR
,GATEWAY
, orWORKER
).final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends ExecutorsSummary.Builder> final Long
The date and time that the executor started.final Long
The date and time that the executor was terminated.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
executorId
-
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:
-
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:
-
startDateTime
The date and time that the executor started.
- Returns:
- The date and time that the executor started.
-
terminationDateTime
The date and time that the executor was terminated.
- Returns:
- The date and time that the executor was terminated.
-
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:
-
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:
-
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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ExecutorsSummary.Builder,
ExecutorsSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-