Struct aws_sdk_glue::model::session::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Session.
Implementations§
source§impl Builder
impl Builder
sourcepub fn created_on(self, input: DateTime) -> Self
pub fn created_on(self, input: DateTime) -> Self
The time and date when the session was created.
sourcepub fn set_created_on(self, input: Option<DateTime>) -> Self
pub fn set_created_on(self, input: Option<DateTime>) -> Self
The time and date when the session was created.
sourcepub fn status(self, input: SessionStatus) -> Self
pub fn status(self, input: SessionStatus) -> Self
The session status.
sourcepub fn set_status(self, input: Option<SessionStatus>) -> Self
pub fn set_status(self, input: Option<SessionStatus>) -> Self
The session status.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message displayed during the session.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message displayed during the session.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the session.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the session.
sourcepub fn role(self, input: impl Into<String>) -> Self
pub fn role(self, input: impl Into<String>) -> Self
The name or Amazon Resource Name (ARN) of the IAM role associated with the Session.
sourcepub fn set_role(self, input: Option<String>) -> Self
pub fn set_role(self, input: Option<String>) -> Self
The name or Amazon Resource Name (ARN) of the IAM role associated with the Session.
sourcepub fn command(self, input: SessionCommand) -> Self
pub fn command(self, input: SessionCommand) -> Self
The command object.See SessionCommand.
sourcepub fn set_command(self, input: Option<SessionCommand>) -> Self
pub fn set_command(self, input: Option<SessionCommand>) -> Self
The command object.See SessionCommand.
sourcepub fn default_arguments(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn default_arguments(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to default_arguments.
To override the contents of this collection use set_default_arguments.
A map array of key-value pairs. Max is 75 pairs.
sourcepub fn set_default_arguments(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_default_arguments(
self,
input: Option<HashMap<String, String>>
) -> Self
A map array of key-value pairs. Max is 75 pairs.
sourcepub fn connections(self, input: ConnectionsList) -> Self
pub fn connections(self, input: ConnectionsList) -> Self
The number of connections used for the session.
sourcepub fn set_connections(self, input: Option<ConnectionsList>) -> Self
pub fn set_connections(self, input: Option<ConnectionsList>) -> Self
The number of connections used for the session.
sourcepub fn set_progress(self, input: Option<f64>) -> Self
pub fn set_progress(self, input: Option<f64>) -> Self
The code execution progress of the session.
sourcepub fn max_capacity(self, input: f64) -> Self
pub fn max_capacity(self, input: f64) -> Self
The number of Glue data processing units (DPUs) that can be allocated when the job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB memory.
sourcepub fn set_max_capacity(self, input: Option<f64>) -> Self
pub fn set_max_capacity(self, input: Option<f64>) -> Self
The number of Glue data processing units (DPUs) that can be allocated when the job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB memory.
sourcepub fn security_configuration(self, input: impl Into<String>) -> Self
pub fn security_configuration(self, input: impl Into<String>) -> Self
The name of the SecurityConfiguration structure to be used with the session.
sourcepub fn set_security_configuration(self, input: Option<String>) -> Self
pub fn set_security_configuration(self, input: Option<String>) -> Self
The name of the SecurityConfiguration structure to be used with the session.
sourcepub fn glue_version(self, input: impl Into<String>) -> Self
pub fn glue_version(self, input: impl Into<String>) -> Self
The Glue version determines the versions of Apache Spark and Python that Glue supports. The GlueVersion must be greater than 2.0.
sourcepub fn set_glue_version(self, input: Option<String>) -> Self
pub fn set_glue_version(self, input: Option<String>) -> Self
The Glue version determines the versions of Apache Spark and Python that Glue supports. The GlueVersion must be greater than 2.0.