Struct aws_sdk_athena::model::executors_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ExecutorsSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn executor_id(self, input: impl Into<String>) -> Self
pub fn executor_id(self, input: impl Into<String>) -> Self
The UUID of the executor.
sourcepub fn set_executor_id(self, input: Option<String>) -> Self
pub fn set_executor_id(self, input: Option<String>) -> Self
The UUID of the executor.
sourcepub fn executor_type(self, input: ExecutorType) -> Self
pub fn executor_type(self, input: ExecutorType) -> Self
The type of executor used for the application (COORDINATOR
, GATEWAY
, or WORKER
).
sourcepub fn set_executor_type(self, input: Option<ExecutorType>) -> Self
pub fn set_executor_type(self, input: Option<ExecutorType>) -> Self
The type of executor used for the application (COORDINATOR
, GATEWAY
, or WORKER
).
sourcepub fn start_date_time(self, input: i64) -> Self
pub fn start_date_time(self, input: i64) -> Self
The date and time that the executor started.
sourcepub fn set_start_date_time(self, input: Option<i64>) -> Self
pub fn set_start_date_time(self, input: Option<i64>) -> Self
The date and time that the executor started.
sourcepub fn termination_date_time(self, input: i64) -> Self
pub fn termination_date_time(self, input: i64) -> Self
The date and time that the executor was terminated.
sourcepub fn set_termination_date_time(self, input: Option<i64>) -> Self
pub fn set_termination_date_time(self, input: Option<i64>) -> Self
The date and time that the executor was terminated.
sourcepub fn executor_state(self, input: ExecutorState) -> Self
pub fn executor_state(self, input: ExecutorState) -> Self
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.
sourcepub fn set_executor_state(self, input: Option<ExecutorState>) -> Self
pub fn set_executor_state(self, input: Option<ExecutorState>) -> Self
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.
sourcepub fn executor_size(self, input: i64) -> Self
pub fn executor_size(self, input: i64) -> Self
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.
sourcepub fn set_executor_size(self, input: Option<i64>) -> Self
pub fn set_executor_size(self, input: Option<i64>) -> Self
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.
sourcepub fn build(self) -> ExecutorsSummary
pub fn build(self) -> ExecutorsSummary
Consumes the builder and constructs a ExecutorsSummary
.