Struct aws_sdk_ec2::operation::describe_reserved_instances_modifications::builders::DescribeReservedInstancesModificationsInputBuilder
source · #[non_exhaustive]pub struct DescribeReservedInstancesModificationsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeReservedInstancesModificationsInput
.
Implementations§
source§impl DescribeReservedInstancesModificationsInputBuilder
impl DescribeReservedInstancesModificationsInputBuilder
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
One or more filters.
-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
One or more filters.
-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
One or more filters.
-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
sourcepub fn reserved_instances_modification_ids(
self,
input: impl Into<String>,
) -> Self
pub fn reserved_instances_modification_ids( self, input: impl Into<String>, ) -> Self
Appends an item to reserved_instances_modification_ids
.
To override the contents of this collection use set_reserved_instances_modification_ids
.
IDs for the submitted modification request.
sourcepub fn set_reserved_instances_modification_ids(
self,
input: Option<Vec<String>>,
) -> Self
pub fn set_reserved_instances_modification_ids( self, input: Option<Vec<String>>, ) -> Self
IDs for the submitted modification request.
sourcepub fn get_reserved_instances_modification_ids(&self) -> &Option<Vec<String>>
pub fn get_reserved_instances_modification_ids(&self) -> &Option<Vec<String>>
IDs for the submitted modification request.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to retrieve the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to retrieve the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to retrieve the next page of results.
sourcepub fn build(
self,
) -> Result<DescribeReservedInstancesModificationsInput, BuildError>
pub fn build( self, ) -> Result<DescribeReservedInstancesModificationsInput, BuildError>
Consumes the builder and constructs a DescribeReservedInstancesModificationsInput
.
source§impl DescribeReservedInstancesModificationsInputBuilder
impl DescribeReservedInstancesModificationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeReservedInstancesModificationsOutput, SdkError<DescribeReservedInstancesModificationsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeReservedInstancesModificationsOutput, SdkError<DescribeReservedInstancesModificationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeReservedInstancesModificationsInputBuilder
impl Clone for DescribeReservedInstancesModificationsInputBuilder
source§fn clone(&self) -> DescribeReservedInstancesModificationsInputBuilder
fn clone(&self) -> DescribeReservedInstancesModificationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeReservedInstancesModificationsInputBuilder
impl Default for DescribeReservedInstancesModificationsInputBuilder
source§fn default() -> DescribeReservedInstancesModificationsInputBuilder
fn default() -> DescribeReservedInstancesModificationsInputBuilder
source§impl PartialEq for DescribeReservedInstancesModificationsInputBuilder
impl PartialEq for DescribeReservedInstancesModificationsInputBuilder
source§fn eq(&self, other: &DescribeReservedInstancesModificationsInputBuilder) -> bool
fn eq(&self, other: &DescribeReservedInstancesModificationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeReservedInstancesModificationsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeReservedInstancesModificationsInputBuilder
impl RefUnwindSafe for DescribeReservedInstancesModificationsInputBuilder
impl Send for DescribeReservedInstancesModificationsInputBuilder
impl Sync for DescribeReservedInstancesModificationsInputBuilder
impl Unpin for DescribeReservedInstancesModificationsInputBuilder
impl UnwindSafe for DescribeReservedInstancesModificationsInputBuilder
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