#[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.
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 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 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<ScriptBootstrapActionConfigBuilder> for ScriptBootstrapActionConfigBuilder
impl PartialEq<ScriptBootstrapActionConfigBuilder> 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 ==.