Struct aws_sdk_emr::types::builders::ApplicationBuilder
source · #[non_exhaustive]pub struct ApplicationBuilder { /* private fields */ }
Expand description
A builder for Application
.
Implementations§
source§impl ApplicationBuilder
impl ApplicationBuilder
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version of the application.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
The version of the application.
sourcepub fn args(self, input: impl Into<String>) -> Self
pub fn args(self, input: impl Into<String>) -> Self
Appends an item to args
.
To override the contents of this collection use set_args
.
Arguments for Amazon EMR to pass to the application.
sourcepub fn set_args(self, input: Option<Vec<String>>) -> Self
pub fn set_args(self, input: Option<Vec<String>>) -> Self
Arguments for Amazon EMR to pass to the application.
sourcepub fn get_args(&self) -> &Option<Vec<String>>
pub fn get_args(&self) -> &Option<Vec<String>>
Arguments for Amazon EMR to pass to the application.
sourcepub fn additional_info(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn additional_info(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to additional_info
.
To override the contents of this collection use set_additional_info
.
This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.
sourcepub fn set_additional_info(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_additional_info(self, input: Option<HashMap<String, String>>) -> Self
This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.
sourcepub fn get_additional_info(&self) -> &Option<HashMap<String, String>>
pub fn get_additional_info(&self) -> &Option<HashMap<String, String>>
This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.
sourcepub fn build(self) -> Application
pub fn build(self) -> Application
Consumes the builder and constructs a Application
.
Trait Implementations§
source§impl Clone for ApplicationBuilder
impl Clone for ApplicationBuilder
source§fn clone(&self) -> ApplicationBuilder
fn clone(&self) -> ApplicationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ApplicationBuilder
impl Debug for ApplicationBuilder
source§impl Default for ApplicationBuilder
impl Default for ApplicationBuilder
source§fn default() -> ApplicationBuilder
fn default() -> ApplicationBuilder
source§impl PartialEq for ApplicationBuilder
impl PartialEq for ApplicationBuilder
source§fn eq(&self, other: &ApplicationBuilder) -> bool
fn eq(&self, other: &ApplicationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.