Struct aws_sdk_emr::model::script_bootstrap_action_config::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ScriptBootstrapActionConfig.
Implementations§
source§impl Builder
impl Builder
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.