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 ==
.impl StructuralPartialEq for ApplicationBuilder
Auto Trait Implementations§
impl Freeze for ApplicationBuilder
impl RefUnwindSafe for ApplicationBuilder
impl Send for ApplicationBuilder
impl Sync for ApplicationBuilder
impl Unpin for ApplicationBuilder
impl UnwindSafe for ApplicationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more