Struct aws_sdk_ssm::operation::describe_maintenance_windows_for_target::builders::DescribeMaintenanceWindowsForTargetInputBuilder
source · #[non_exhaustive]pub struct DescribeMaintenanceWindowsForTargetInputBuilder { /* private fields */ }
Expand description
A builder for DescribeMaintenanceWindowsForTargetInput
.
Implementations§
source§impl DescribeMaintenanceWindowsForTargetInputBuilder
impl DescribeMaintenanceWindowsForTargetInputBuilder
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
.
The managed node ID or key-value pair to retrieve information about.
sourcepub fn set_targets(self, input: Option<Vec<Target>>) -> Self
pub fn set_targets(self, input: Option<Vec<Target>>) -> Self
The managed node ID or key-value pair to retrieve information about.
sourcepub fn get_targets(&self) -> &Option<Vec<Target>>
pub fn get_targets(&self) -> &Option<Vec<Target>>
The managed node ID or key-value pair to retrieve information about.
sourcepub fn resource_type(self, input: MaintenanceWindowResourceType) -> Self
pub fn resource_type(self, input: MaintenanceWindowResourceType) -> Self
The type of resource you want to retrieve information about. For example, INSTANCE
.
sourcepub fn set_resource_type(
self,
input: Option<MaintenanceWindowResourceType>
) -> Self
pub fn set_resource_type( self, input: Option<MaintenanceWindowResourceType> ) -> Self
The type of resource you want to retrieve information about. For example, INSTANCE
.
sourcepub fn get_resource_type(&self) -> &Option<MaintenanceWindowResourceType>
pub fn get_resource_type(&self) -> &Option<MaintenanceWindowResourceType>
The type of resource you want to retrieve information about. For example, INSTANCE
.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn build(
self
) -> Result<DescribeMaintenanceWindowsForTargetInput, BuildError>
pub fn build( self ) -> Result<DescribeMaintenanceWindowsForTargetInput, BuildError>
Consumes the builder and constructs a DescribeMaintenanceWindowsForTargetInput
.
source§impl DescribeMaintenanceWindowsForTargetInputBuilder
impl DescribeMaintenanceWindowsForTargetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeMaintenanceWindowsForTargetOutput, SdkError<DescribeMaintenanceWindowsForTargetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeMaintenanceWindowsForTargetOutput, SdkError<DescribeMaintenanceWindowsForTargetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeMaintenanceWindowsForTargetInputBuilder
impl Clone for DescribeMaintenanceWindowsForTargetInputBuilder
source§fn clone(&self) -> DescribeMaintenanceWindowsForTargetInputBuilder
fn clone(&self) -> DescribeMaintenanceWindowsForTargetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeMaintenanceWindowsForTargetInputBuilder
impl Default for DescribeMaintenanceWindowsForTargetInputBuilder
source§fn default() -> DescribeMaintenanceWindowsForTargetInputBuilder
fn default() -> DescribeMaintenanceWindowsForTargetInputBuilder
source§impl PartialEq for DescribeMaintenanceWindowsForTargetInputBuilder
impl PartialEq for DescribeMaintenanceWindowsForTargetInputBuilder
source§fn eq(&self, other: &DescribeMaintenanceWindowsForTargetInputBuilder) -> bool
fn eq(&self, other: &DescribeMaintenanceWindowsForTargetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeMaintenanceWindowsForTargetInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeMaintenanceWindowsForTargetInputBuilder
impl RefUnwindSafe for DescribeMaintenanceWindowsForTargetInputBuilder
impl Send for DescribeMaintenanceWindowsForTargetInputBuilder
impl Sync for DescribeMaintenanceWindowsForTargetInputBuilder
impl Unpin for DescribeMaintenanceWindowsForTargetInputBuilder
impl UnwindSafe for DescribeMaintenanceWindowsForTargetInputBuilder
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