Struct aws_sdk_eventbridge::model::run_command_target::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RunCommandTarget.
Implementations§
source§impl Builder
impl Builder
sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values.
To override the contents of this collection use set_values.
If Key is tag: tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
If Key is tag: tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.
sourcepub fn build(self) -> RunCommandTarget
pub fn build(self) -> RunCommandTarget
Consumes the builder and constructs a RunCommandTarget.