#[non_exhaustive]pub struct ScriptBootstrapActionConfigBuilder { /* private fields */ }Expand description
A builder for ScriptBootstrapActionConfig.
Implementations§
source§impl ScriptBootstrapActionConfigBuilder
impl ScriptBootstrapActionConfigBuilder
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
Location in Amazon S3 of the script to run during a bootstrap action.
This field is required.sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
Location in Amazon S3 of the script to run during a bootstrap action.
sourcepub fn get_path(&self) -> &Option<String>
pub fn get_path(&self) -> &Option<String>
Location in Amazon S3 of the script to run during a bootstrap action.
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.
A list of command line arguments to pass to the bootstrap action script.
sourcepub fn set_args(self, input: Option<Vec<String>>) -> Self
pub fn set_args(self, input: Option<Vec<String>>) -> Self
A list of command line arguments to pass to the bootstrap action script.
sourcepub fn get_args(&self) -> &Option<Vec<String>>
pub fn get_args(&self) -> &Option<Vec<String>>
A list of command line arguments to pass to the bootstrap action script.
sourcepub fn build(self) -> ScriptBootstrapActionConfig
pub fn build(self) -> ScriptBootstrapActionConfig
Consumes the builder and constructs a ScriptBootstrapActionConfig.
Trait Implementations§
source§impl Clone for ScriptBootstrapActionConfigBuilder
impl Clone for ScriptBootstrapActionConfigBuilder
source§fn clone(&self) -> ScriptBootstrapActionConfigBuilder
fn clone(&self) -> ScriptBootstrapActionConfigBuilder
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 Default for ScriptBootstrapActionConfigBuilder
impl Default for ScriptBootstrapActionConfigBuilder
source§fn default() -> ScriptBootstrapActionConfigBuilder
fn default() -> ScriptBootstrapActionConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ScriptBootstrapActionConfigBuilder
impl PartialEq for ScriptBootstrapActionConfigBuilder
source§fn eq(&self, other: &ScriptBootstrapActionConfigBuilder) -> bool
fn eq(&self, other: &ScriptBootstrapActionConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ScriptBootstrapActionConfigBuilder
Auto Trait Implementations§
impl Freeze for ScriptBootstrapActionConfigBuilder
impl RefUnwindSafe for ScriptBootstrapActionConfigBuilder
impl Send for ScriptBootstrapActionConfigBuilder
impl Sync for ScriptBootstrapActionConfigBuilder
impl Unpin for ScriptBootstrapActionConfigBuilder
impl UnwindSafe for ScriptBootstrapActionConfigBuilder
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.