Struct aws_sdk_ssm::types::builders::RunbookBuilder
source · #[non_exhaustive]pub struct RunbookBuilder { /* private fields */ }
Expand description
A builder for Runbook
.
Implementations§
source§impl RunbookBuilder
impl RunbookBuilder
sourcepub fn document_name(self, input: impl Into<String>) -> Self
pub fn document_name(self, input: impl Into<String>) -> Self
The name of the Automation runbook used in a runbook workflow.
This field is required.sourcepub fn set_document_name(self, input: Option<String>) -> Self
pub fn set_document_name(self, input: Option<String>) -> Self
The name of the Automation runbook used in a runbook workflow.
sourcepub fn get_document_name(&self) -> &Option<String>
pub fn get_document_name(&self) -> &Option<String>
The name of the Automation runbook used in a runbook workflow.
sourcepub fn document_version(self, input: impl Into<String>) -> Self
pub fn document_version(self, input: impl Into<String>) -> Self
The version of the Automation runbook used in a runbook workflow.
sourcepub fn set_document_version(self, input: Option<String>) -> Self
pub fn set_document_version(self, input: Option<String>) -> Self
The version of the Automation runbook used in a runbook workflow.
sourcepub fn get_document_version(&self) -> &Option<String>
pub fn get_document_version(&self) -> &Option<String>
The version of the Automation runbook used in a runbook workflow.
sourcepub fn parameters(self, k: impl Into<String>, v: Vec<String>) -> Self
pub fn parameters(self, k: impl Into<String>, v: Vec<String>) -> Self
Adds a key-value pair to parameters
.
To override the contents of this collection use set_parameters
.
The key-value map of execution parameters, which were supplied when calling StartChangeRequestExecution
.
sourcepub fn set_parameters(self, input: Option<HashMap<String, Vec<String>>>) -> Self
pub fn set_parameters(self, input: Option<HashMap<String, Vec<String>>>) -> Self
The key-value map of execution parameters, which were supplied when calling StartChangeRequestExecution
.
sourcepub fn get_parameters(&self) -> &Option<HashMap<String, Vec<String>>>
pub fn get_parameters(&self) -> &Option<HashMap<String, Vec<String>>>
The key-value map of execution parameters, which were supplied when calling StartChangeRequestExecution
.
sourcepub fn target_parameter_name(self, input: impl Into<String>) -> Self
pub fn target_parameter_name(self, input: impl Into<String>) -> Self
The name of the parameter used as the target resource for the rate-controlled runbook workflow. Required if you specify Targets
.
sourcepub fn set_target_parameter_name(self, input: Option<String>) -> Self
pub fn set_target_parameter_name(self, input: Option<String>) -> Self
The name of the parameter used as the target resource for the rate-controlled runbook workflow. Required if you specify Targets
.
sourcepub fn get_target_parameter_name(&self) -> &Option<String>
pub fn get_target_parameter_name(&self) -> &Option<String>
The name of the parameter used as the target resource for the rate-controlled runbook workflow. Required if you specify Targets
.
sourcepub fn targets(self, input: Target) -> Self
pub fn targets(self, input: Target) -> Self
Appends an item to targets
.
To override the contents of this collection use set_targets
.
A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specify TargetParameterName
.
sourcepub fn set_targets(self, input: Option<Vec<Target>>) -> Self
pub fn set_targets(self, input: Option<Vec<Target>>) -> Self
A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specify TargetParameterName
.
sourcepub fn get_targets(&self) -> &Option<Vec<Target>>
pub fn get_targets(&self) -> &Option<Vec<Target>>
A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specify TargetParameterName
.
sourcepub fn target_maps(self, input: HashMap<String, Vec<String>>) -> Self
pub fn target_maps(self, input: HashMap<String, Vec<String>>) -> Self
Appends an item to target_maps
.
To override the contents of this collection use set_target_maps
.
A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps can't be specified together.
sourcepub fn set_target_maps(
self,
input: Option<Vec<HashMap<String, Vec<String>>>>
) -> Self
pub fn set_target_maps( self, input: Option<Vec<HashMap<String, Vec<String>>>> ) -> Self
A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps can't be specified together.
sourcepub fn get_target_maps(&self) -> &Option<Vec<HashMap<String, Vec<String>>>>
pub fn get_target_maps(&self) -> &Option<Vec<HashMap<String, Vec<String>>>>
A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps can't be specified together.
sourcepub fn max_concurrency(self, input: impl Into<String>) -> Self
pub fn max_concurrency(self, input: impl Into<String>) -> Self
The MaxConcurrency
value specified by the user when the operation started, indicating the maximum number of resources that the runbook operation can run on at the same time.
sourcepub fn set_max_concurrency(self, input: Option<String>) -> Self
pub fn set_max_concurrency(self, input: Option<String>) -> Self
The MaxConcurrency
value specified by the user when the operation started, indicating the maximum number of resources that the runbook operation can run on at the same time.
sourcepub fn get_max_concurrency(&self) -> &Option<String>
pub fn get_max_concurrency(&self) -> &Option<String>
The MaxConcurrency
value specified by the user when the operation started, indicating the maximum number of resources that the runbook operation can run on at the same time.
sourcepub fn max_errors(self, input: impl Into<String>) -> Self
pub fn max_errors(self, input: impl Into<String>) -> Self
The MaxErrors
value specified by the user when the execution started, indicating the maximum number of errors that can occur during the operation before the updates are stopped or rolled back.
sourcepub fn set_max_errors(self, input: Option<String>) -> Self
pub fn set_max_errors(self, input: Option<String>) -> Self
The MaxErrors
value specified by the user when the execution started, indicating the maximum number of errors that can occur during the operation before the updates are stopped or rolled back.
sourcepub fn get_max_errors(&self) -> &Option<String>
pub fn get_max_errors(&self) -> &Option<String>
The MaxErrors
value specified by the user when the execution started, indicating the maximum number of errors that can occur during the operation before the updates are stopped or rolled back.
sourcepub fn target_locations(self, input: TargetLocation) -> Self
pub fn target_locations(self, input: TargetLocation) -> Self
Appends an item to target_locations
.
To override the contents of this collection use set_target_locations
.
Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.
sourcepub fn set_target_locations(self, input: Option<Vec<TargetLocation>>) -> Self
pub fn set_target_locations(self, input: Option<Vec<TargetLocation>>) -> Self
Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.
sourcepub fn get_target_locations(&self) -> &Option<Vec<TargetLocation>>
pub fn get_target_locations(&self) -> &Option<Vec<TargetLocation>>
Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.
Trait Implementations§
source§impl Clone for RunbookBuilder
impl Clone for RunbookBuilder
source§fn clone(&self) -> RunbookBuilder
fn clone(&self) -> RunbookBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RunbookBuilder
impl Debug for RunbookBuilder
source§impl Default for RunbookBuilder
impl Default for RunbookBuilder
source§fn default() -> RunbookBuilder
fn default() -> RunbookBuilder
source§impl PartialEq for RunbookBuilder
impl PartialEq for RunbookBuilder
source§fn eq(&self, other: &RunbookBuilder) -> bool
fn eq(&self, other: &RunbookBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.