Struct aws_sdk_glue::model::session_command::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for SessionCommand.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Specifies the name of the SessionCommand. Can be 'glueetl' or 'gluestreaming'.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Specifies the name of the SessionCommand. Can be 'glueetl' or 'gluestreaming'.
sourcepub fn python_version(self, input: impl Into<String>) -> Self
pub fn python_version(self, input: impl Into<String>) -> Self
Specifies the Python version. The Python version indicates the version supported for jobs of type Spark.
sourcepub fn set_python_version(self, input: Option<String>) -> Self
pub fn set_python_version(self, input: Option<String>) -> Self
Specifies the Python version. The Python version indicates the version supported for jobs of type Spark.
sourcepub fn build(self) -> SessionCommand
pub fn build(self) -> SessionCommand
Consumes the builder and constructs a SessionCommand.