#[non_exhaustive]pub struct MaintenanceWindowAutomationParametersBuilder { /* private fields */ }
Expand description
A builder for MaintenanceWindowAutomationParameters
.
Implementations§
source§impl MaintenanceWindowAutomationParametersBuilder
impl MaintenanceWindowAutomationParametersBuilder
sourcepub fn document_version(self, input: impl Into<String>) -> Self
pub fn document_version(self, input: impl Into<String>) -> Self
The version of an Automation runbook to use during task execution.
sourcepub fn set_document_version(self, input: Option<String>) -> Self
pub fn set_document_version(self, input: Option<String>) -> Self
The version of an Automation runbook to use during task execution.
sourcepub fn get_document_version(&self) -> &Option<String>
pub fn get_document_version(&self) -> &Option<String>
The version of an Automation runbook to use during task execution.
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 parameters for the AUTOMATION
task.
For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow
and UpdateMaintenanceWindowTask
.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters
.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters
option in the TaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters
.
For AUTOMATION
task types, Amazon Web Services Systems Manager ignores any values specified for these parameters.
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 parameters for the AUTOMATION
task.
For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow
and UpdateMaintenanceWindowTask
.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters
.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters
option in the TaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters
.
For AUTOMATION
task types, Amazon Web Services Systems Manager ignores any values specified for these parameters.
sourcepub fn get_parameters(&self) -> &Option<HashMap<String, Vec<String>>>
pub fn get_parameters(&self) -> &Option<HashMap<String, Vec<String>>>
The parameters for the AUTOMATION
task.
For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow
and UpdateMaintenanceWindowTask
.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters
.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters
option in the TaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters
.
For AUTOMATION
task types, Amazon Web Services Systems Manager ignores any values specified for these parameters.
sourcepub fn build(self) -> MaintenanceWindowAutomationParameters
pub fn build(self) -> MaintenanceWindowAutomationParameters
Consumes the builder and constructs a MaintenanceWindowAutomationParameters
.
Trait Implementations§
source§impl Clone for MaintenanceWindowAutomationParametersBuilder
impl Clone for MaintenanceWindowAutomationParametersBuilder
source§fn clone(&self) -> MaintenanceWindowAutomationParametersBuilder
fn clone(&self) -> MaintenanceWindowAutomationParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MaintenanceWindowAutomationParametersBuilder
impl Default for MaintenanceWindowAutomationParametersBuilder
source§fn default() -> MaintenanceWindowAutomationParametersBuilder
fn default() -> MaintenanceWindowAutomationParametersBuilder
source§impl PartialEq for MaintenanceWindowAutomationParametersBuilder
impl PartialEq for MaintenanceWindowAutomationParametersBuilder
source§fn eq(&self, other: &MaintenanceWindowAutomationParametersBuilder) -> bool
fn eq(&self, other: &MaintenanceWindowAutomationParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MaintenanceWindowAutomationParametersBuilder
Auto Trait Implementations§
impl Freeze for MaintenanceWindowAutomationParametersBuilder
impl RefUnwindSafe for MaintenanceWindowAutomationParametersBuilder
impl Send for MaintenanceWindowAutomationParametersBuilder
impl Sync for MaintenanceWindowAutomationParametersBuilder
impl Unpin for MaintenanceWindowAutomationParametersBuilder
impl UnwindSafe for MaintenanceWindowAutomationParametersBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more