Struct aws_sdk_athena::model::engine_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EngineConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn coordinator_dpu_size(self, input: i32) -> Self
pub fn coordinator_dpu_size(self, input: i32) -> Self
The number of DPUs to use for the coordinator. A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session.
sourcepub fn set_coordinator_dpu_size(self, input: Option<i32>) -> Self
pub fn set_coordinator_dpu_size(self, input: Option<i32>) -> Self
The number of DPUs to use for the coordinator. A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session.
sourcepub fn max_concurrent_dpus(self, input: i32) -> Self
pub fn max_concurrent_dpus(self, input: i32) -> Self
The maximum number of DPUs that can run concurrently.
sourcepub fn set_max_concurrent_dpus(self, input: Option<i32>) -> Self
pub fn set_max_concurrent_dpus(self, input: Option<i32>) -> Self
The maximum number of DPUs that can run concurrently.
sourcepub fn default_executor_dpu_size(self, input: i32) -> Self
pub fn default_executor_dpu_size(self, input: i32) -> Self
The default number of DPUs to use for executors. An executor is the smallest unit of compute that a notebook session can request from Athena.
sourcepub fn set_default_executor_dpu_size(self, input: Option<i32>) -> Self
pub fn set_default_executor_dpu_size(self, input: Option<i32>) -> Self
The default number of DPUs to use for executors. An executor is the smallest unit of compute that a notebook session can request from Athena.
sourcepub fn additional_configs(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn additional_configs( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to additional_configs
.
To override the contents of this collection use set_additional_configs
.
Contains additional notebook engine MAP
parameter mappings in the form of key-value pairs. To specify an Amazon S3 URI that the Jupyter server will download and serve, specify a value for the StartSessionRequest$NotebookVersion
field, and then add a key named NotebookFileURI
to AdditionalConfigs
that has value of the Amazon S3 URI.
sourcepub fn set_additional_configs(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_additional_configs( self, input: Option<HashMap<String, String>> ) -> Self
Contains additional notebook engine MAP
parameter mappings in the form of key-value pairs. To specify an Amazon S3 URI that the Jupyter server will download and serve, specify a value for the StartSessionRequest$NotebookVersion
field, and then add a key named NotebookFileURI
to AdditionalConfigs
that has value of the Amazon S3 URI.
sourcepub fn build(self) -> EngineConfiguration
pub fn build(self) -> EngineConfiguration
Consumes the builder and constructs a EngineConfiguration
.