Struct aws_sdk_autoscaling::operation::describe_instance_refreshes::builders::DescribeInstanceRefreshesInputBuilder
source · #[non_exhaustive]pub struct DescribeInstanceRefreshesInputBuilder { /* private fields */ }
Expand description
A builder for DescribeInstanceRefreshesInput
.
Implementations§
source§impl DescribeInstanceRefreshesInputBuilder
impl DescribeInstanceRefreshesInputBuilder
sourcepub fn auto_scaling_group_name(self, input: impl Into<String>) -> Self
pub fn auto_scaling_group_name(self, input: impl Into<String>) -> Self
The name of the Auto Scaling group.
This field is required.sourcepub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
pub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
The name of the Auto Scaling group.
sourcepub fn get_auto_scaling_group_name(&self) -> &Option<String>
pub fn get_auto_scaling_group_name(&self) -> &Option<String>
The name of the Auto Scaling group.
sourcepub fn instance_refresh_ids(self, input: impl Into<String>) -> Self
pub fn instance_refresh_ids(self, input: impl Into<String>) -> Self
Appends an item to instance_refresh_ids
.
To override the contents of this collection use set_instance_refresh_ids
.
One or more instance refresh IDs.
sourcepub fn set_instance_refresh_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_instance_refresh_ids(self, input: Option<Vec<String>>) -> Self
One or more instance refresh IDs.
sourcepub fn get_instance_refresh_ids(&self) -> &Option<Vec<String>>
pub fn get_instance_refresh_ids(&self) -> &Option<Vec<String>>
One or more instance refresh IDs.
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 max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of items to return with this call. The default value is 50
and the maximum value is 100
.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of items to return with this call. The default value is 50
and the maximum value is 100
.
sourcepub fn get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
The maximum number of items to return with this call. The default value is 50
and the maximum value is 100
.
sourcepub fn build(self) -> Result<DescribeInstanceRefreshesInput, BuildError>
pub fn build(self) -> Result<DescribeInstanceRefreshesInput, BuildError>
Consumes the builder and constructs a DescribeInstanceRefreshesInput
.
source§impl DescribeInstanceRefreshesInputBuilder
impl DescribeInstanceRefreshesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeInstanceRefreshesOutput, SdkError<DescribeInstanceRefreshesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeInstanceRefreshesOutput, SdkError<DescribeInstanceRefreshesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeInstanceRefreshesInputBuilder
impl Clone for DescribeInstanceRefreshesInputBuilder
source§fn clone(&self) -> DescribeInstanceRefreshesInputBuilder
fn clone(&self) -> DescribeInstanceRefreshesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeInstanceRefreshesInputBuilder
impl Default for DescribeInstanceRefreshesInputBuilder
source§fn default() -> DescribeInstanceRefreshesInputBuilder
fn default() -> DescribeInstanceRefreshesInputBuilder
source§impl PartialEq for DescribeInstanceRefreshesInputBuilder
impl PartialEq for DescribeInstanceRefreshesInputBuilder
source§fn eq(&self, other: &DescribeInstanceRefreshesInputBuilder) -> bool
fn eq(&self, other: &DescribeInstanceRefreshesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeInstanceRefreshesInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeInstanceRefreshesInputBuilder
impl RefUnwindSafe for DescribeInstanceRefreshesInputBuilder
impl Send for DescribeInstanceRefreshesInputBuilder
impl Sync for DescribeInstanceRefreshesInputBuilder
impl Unpin for DescribeInstanceRefreshesInputBuilder
impl UnwindSafe for DescribeInstanceRefreshesInputBuilder
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