Struct aws_sdk_emr::types::builders::BootstrapActionConfigBuilder
source · #[non_exhaustive]pub struct BootstrapActionConfigBuilder { /* private fields */ }Expand description
A builder for BootstrapActionConfig.
Implementations§
source§impl BootstrapActionConfigBuilder
impl BootstrapActionConfigBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the bootstrap action.
This field is required.sourcepub fn script_bootstrap_action(self, input: ScriptBootstrapActionConfig) -> Self
pub fn script_bootstrap_action(self, input: ScriptBootstrapActionConfig) -> Self
The script run by the bootstrap action.
This field is required.sourcepub fn set_script_bootstrap_action(
self,
input: Option<ScriptBootstrapActionConfig>
) -> Self
pub fn set_script_bootstrap_action( self, input: Option<ScriptBootstrapActionConfig> ) -> Self
The script run by the bootstrap action.
sourcepub fn get_script_bootstrap_action(
&self
) -> &Option<ScriptBootstrapActionConfig>
pub fn get_script_bootstrap_action( &self ) -> &Option<ScriptBootstrapActionConfig>
The script run by the bootstrap action.
sourcepub fn build(self) -> BootstrapActionConfig
pub fn build(self) -> BootstrapActionConfig
Consumes the builder and constructs a BootstrapActionConfig.
Trait Implementations§
source§impl Clone for BootstrapActionConfigBuilder
impl Clone for BootstrapActionConfigBuilder
source§fn clone(&self) -> BootstrapActionConfigBuilder
fn clone(&self) -> BootstrapActionConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BootstrapActionConfigBuilder
impl Debug for BootstrapActionConfigBuilder
source§impl Default for BootstrapActionConfigBuilder
impl Default for BootstrapActionConfigBuilder
source§fn default() -> BootstrapActionConfigBuilder
fn default() -> BootstrapActionConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BootstrapActionConfigBuilder
impl PartialEq for BootstrapActionConfigBuilder
source§fn eq(&self, other: &BootstrapActionConfigBuilder) -> bool
fn eq(&self, other: &BootstrapActionConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BootstrapActionConfigBuilder
Auto Trait Implementations§
impl Freeze for BootstrapActionConfigBuilder
impl RefUnwindSafe for BootstrapActionConfigBuilder
impl Send for BootstrapActionConfigBuilder
impl Sync for BootstrapActionConfigBuilder
impl Unpin for BootstrapActionConfigBuilder
impl UnwindSafe for BootstrapActionConfigBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.