Struct aws_sdk_ssm::operation::get_maintenance_window_task::builders::GetMaintenanceWindowTaskInputBuilder
source · #[non_exhaustive]pub struct GetMaintenanceWindowTaskInputBuilder { /* private fields */ }
Expand description
A builder for GetMaintenanceWindowTaskInput
.
Implementations§
source§impl GetMaintenanceWindowTaskInputBuilder
impl GetMaintenanceWindowTaskInputBuilder
sourcepub fn window_id(self, input: impl Into<String>) -> Self
pub fn window_id(self, input: impl Into<String>) -> Self
The maintenance window ID that includes the task to retrieve.
This field is required.sourcepub fn set_window_id(self, input: Option<String>) -> Self
pub fn set_window_id(self, input: Option<String>) -> Self
The maintenance window ID that includes the task to retrieve.
sourcepub fn get_window_id(&self) -> &Option<String>
pub fn get_window_id(&self) -> &Option<String>
The maintenance window ID that includes the task to retrieve.
sourcepub fn window_task_id(self, input: impl Into<String>) -> Self
pub fn window_task_id(self, input: impl Into<String>) -> Self
The maintenance window task ID to retrieve.
This field is required.sourcepub fn set_window_task_id(self, input: Option<String>) -> Self
pub fn set_window_task_id(self, input: Option<String>) -> Self
The maintenance window task ID to retrieve.
sourcepub fn get_window_task_id(&self) -> &Option<String>
pub fn get_window_task_id(&self) -> &Option<String>
The maintenance window task ID to retrieve.
sourcepub fn build(self) -> Result<GetMaintenanceWindowTaskInput, BuildError>
pub fn build(self) -> Result<GetMaintenanceWindowTaskInput, BuildError>
Consumes the builder and constructs a GetMaintenanceWindowTaskInput
.
source§impl GetMaintenanceWindowTaskInputBuilder
impl GetMaintenanceWindowTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetMaintenanceWindowTaskOutput, SdkError<GetMaintenanceWindowTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetMaintenanceWindowTaskOutput, SdkError<GetMaintenanceWindowTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetMaintenanceWindowTaskInputBuilder
impl Clone for GetMaintenanceWindowTaskInputBuilder
source§fn clone(&self) -> GetMaintenanceWindowTaskInputBuilder
fn clone(&self) -> GetMaintenanceWindowTaskInputBuilder
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 GetMaintenanceWindowTaskInputBuilder
impl Default for GetMaintenanceWindowTaskInputBuilder
source§fn default() -> GetMaintenanceWindowTaskInputBuilder
fn default() -> GetMaintenanceWindowTaskInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetMaintenanceWindowTaskInputBuilder
impl PartialEq for GetMaintenanceWindowTaskInputBuilder
source§fn eq(&self, other: &GetMaintenanceWindowTaskInputBuilder) -> bool
fn eq(&self, other: &GetMaintenanceWindowTaskInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetMaintenanceWindowTaskInputBuilder
Auto Trait Implementations§
impl Freeze for GetMaintenanceWindowTaskInputBuilder
impl RefUnwindSafe for GetMaintenanceWindowTaskInputBuilder
impl Send for GetMaintenanceWindowTaskInputBuilder
impl Sync for GetMaintenanceWindowTaskInputBuilder
impl Unpin for GetMaintenanceWindowTaskInputBuilder
impl UnwindSafe for GetMaintenanceWindowTaskInputBuilder
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>
Creates a shared type from an unshared type.