#[non_exhaustive]pub struct MaintenanceWindowTaskInvocationParametersBuilder { /* private fields */ }
Expand description
A builder for MaintenanceWindowTaskInvocationParameters
.
Implementations§
source§impl MaintenanceWindowTaskInvocationParametersBuilder
impl MaintenanceWindowTaskInvocationParametersBuilder
sourcepub fn run_command(self, input: MaintenanceWindowRunCommandParameters) -> Self
pub fn run_command(self, input: MaintenanceWindowRunCommandParameters) -> Self
The parameters for a RUN_COMMAND
task type.
sourcepub fn set_run_command(
self,
input: Option<MaintenanceWindowRunCommandParameters>
) -> Self
pub fn set_run_command( self, input: Option<MaintenanceWindowRunCommandParameters> ) -> Self
The parameters for a RUN_COMMAND
task type.
sourcepub fn get_run_command(&self) -> &Option<MaintenanceWindowRunCommandParameters>
pub fn get_run_command(&self) -> &Option<MaintenanceWindowRunCommandParameters>
The parameters for a RUN_COMMAND
task type.
sourcepub fn automation(self, input: MaintenanceWindowAutomationParameters) -> Self
pub fn automation(self, input: MaintenanceWindowAutomationParameters) -> Self
The parameters for an AUTOMATION
task type.
sourcepub fn set_automation(
self,
input: Option<MaintenanceWindowAutomationParameters>
) -> Self
pub fn set_automation( self, input: Option<MaintenanceWindowAutomationParameters> ) -> Self
The parameters for an AUTOMATION
task type.
sourcepub fn get_automation(&self) -> &Option<MaintenanceWindowAutomationParameters>
pub fn get_automation(&self) -> &Option<MaintenanceWindowAutomationParameters>
The parameters for an AUTOMATION
task type.
sourcepub fn step_functions(
self,
input: MaintenanceWindowStepFunctionsParameters
) -> Self
pub fn step_functions( self, input: MaintenanceWindowStepFunctionsParameters ) -> Self
The parameters for a STEP_FUNCTIONS
task type.
sourcepub fn set_step_functions(
self,
input: Option<MaintenanceWindowStepFunctionsParameters>
) -> Self
pub fn set_step_functions( self, input: Option<MaintenanceWindowStepFunctionsParameters> ) -> Self
The parameters for a STEP_FUNCTIONS
task type.
sourcepub fn get_step_functions(
&self
) -> &Option<MaintenanceWindowStepFunctionsParameters>
pub fn get_step_functions( &self ) -> &Option<MaintenanceWindowStepFunctionsParameters>
The parameters for a STEP_FUNCTIONS
task type.
sourcepub fn lambda(self, input: MaintenanceWindowLambdaParameters) -> Self
pub fn lambda(self, input: MaintenanceWindowLambdaParameters) -> Self
The parameters for a LAMBDA
task type.
sourcepub fn set_lambda(
self,
input: Option<MaintenanceWindowLambdaParameters>
) -> Self
pub fn set_lambda( self, input: Option<MaintenanceWindowLambdaParameters> ) -> Self
The parameters for a LAMBDA
task type.
sourcepub fn get_lambda(&self) -> &Option<MaintenanceWindowLambdaParameters>
pub fn get_lambda(&self) -> &Option<MaintenanceWindowLambdaParameters>
The parameters for a LAMBDA
task type.
sourcepub fn build(self) -> MaintenanceWindowTaskInvocationParameters
pub fn build(self) -> MaintenanceWindowTaskInvocationParameters
Consumes the builder and constructs a MaintenanceWindowTaskInvocationParameters
.
Trait Implementations§
source§impl Clone for MaintenanceWindowTaskInvocationParametersBuilder
impl Clone for MaintenanceWindowTaskInvocationParametersBuilder
source§fn clone(&self) -> MaintenanceWindowTaskInvocationParametersBuilder
fn clone(&self) -> MaintenanceWindowTaskInvocationParametersBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for MaintenanceWindowTaskInvocationParametersBuilder
impl Default for MaintenanceWindowTaskInvocationParametersBuilder
source§fn default() -> MaintenanceWindowTaskInvocationParametersBuilder
fn default() -> MaintenanceWindowTaskInvocationParametersBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MaintenanceWindowTaskInvocationParametersBuilder
impl PartialEq for MaintenanceWindowTaskInvocationParametersBuilder
source§fn eq(&self, other: &MaintenanceWindowTaskInvocationParametersBuilder) -> bool
fn eq(&self, other: &MaintenanceWindowTaskInvocationParametersBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MaintenanceWindowTaskInvocationParametersBuilder
Auto Trait Implementations§
impl Freeze for MaintenanceWindowTaskInvocationParametersBuilder
impl RefUnwindSafe for MaintenanceWindowTaskInvocationParametersBuilder
impl Send for MaintenanceWindowTaskInvocationParametersBuilder
impl Sync for MaintenanceWindowTaskInvocationParametersBuilder
impl Unpin for MaintenanceWindowTaskInvocationParametersBuilder
impl UnwindSafe for MaintenanceWindowTaskInvocationParametersBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.