Struct aws_sdk_eventbridge::model::run_command_parameters::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RunCommandParameters.
Implementations§
source§impl Builder
impl Builder
sourcepub fn run_command_targets(self, input: RunCommandTarget) -> Self
pub fn run_command_targets(self, input: RunCommandTarget) -> Self
Appends an item to run_command_targets.
To override the contents of this collection use set_run_command_targets.
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.
sourcepub fn set_run_command_targets(
self,
input: Option<Vec<RunCommandTarget>>
) -> Self
pub fn set_run_command_targets(
self,
input: Option<Vec<RunCommandTarget>>
) -> Self
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.
sourcepub fn build(self) -> RunCommandParameters
pub fn build(self) -> RunCommandParameters
Consumes the builder and constructs a RunCommandParameters.