Struct aws_sdk_glue::types::builders::SessionBuilder
source · #[non_exhaustive]pub struct SessionBuilder { /* private fields */ }Expand description
A builder for Session.
Implementations§
source§impl SessionBuilder
impl SessionBuilder
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 get_created_on(&self) -> &Option<DateTime>
pub fn get_created_on(&self) -> &Option<DateTime>
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 get_status(&self) -> &Option<SessionStatus>
pub fn get_status(&self) -> &Option<SessionStatus>
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 get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_role(&self) -> &Option<String>
pub fn get_role(&self) -> &Option<String>
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 get_command(&self) -> &Option<SessionCommand>
pub fn get_command(&self) -> &Option<SessionCommand>
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 get_default_arguments(&self) -> &Option<HashMap<String, String>>
pub fn get_default_arguments(&self) -> &Option<HashMap<String, String>>
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 get_connections(&self) -> &Option<ConnectionsList>
pub fn get_connections(&self) -> &Option<ConnectionsList>
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 get_progress(&self) -> &Option<f64>
pub fn get_progress(&self) -> &Option<f64>
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 get_max_capacity(&self) -> &Option<f64>
pub fn get_max_capacity(&self) -> &Option<f64>
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 get_security_configuration(&self) -> &Option<String>
pub fn get_security_configuration(&self) -> &Option<String>
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.
sourcepub fn get_glue_version(&self) -> &Option<String>
pub fn get_glue_version(&self) -> &Option<String>
The Glue version determines the versions of Apache Spark and Python that Glue supports. The GlueVersion must be greater than 2.0.
Trait Implementations§
source§impl Clone for SessionBuilder
impl Clone for SessionBuilder
source§fn clone(&self) -> SessionBuilder
fn clone(&self) -> SessionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SessionBuilder
impl Debug for SessionBuilder
source§impl Default for SessionBuilder
impl Default for SessionBuilder
source§fn default() -> SessionBuilder
fn default() -> SessionBuilder
source§impl PartialEq<SessionBuilder> for SessionBuilder
impl PartialEq<SessionBuilder> for SessionBuilder
source§fn eq(&self, other: &SessionBuilder) -> bool
fn eq(&self, other: &SessionBuilder) -> bool
self and other values to be equal, and is used
by ==.