Struct aws_sdk_computeoptimizer::operation::describe_recommendation_export_jobs::builders::DescribeRecommendationExportJobsInputBuilder
source · #[non_exhaustive]pub struct DescribeRecommendationExportJobsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeRecommendationExportJobsInput
.
Implementations§
source§impl DescribeRecommendationExportJobsInputBuilder
impl DescribeRecommendationExportJobsInputBuilder
sourcepub fn job_ids(self, input: impl Into<String>) -> Self
pub fn job_ids(self, input: impl Into<String>) -> Self
Appends an item to job_ids
.
To override the contents of this collection use set_job_ids
.
The identification numbers of the export jobs to return.
An export job ID is returned when you create an export using the ExportAutoScalingGroupRecommendations
or ExportEC2InstanceRecommendations
actions.
All export jobs created in the last seven days are returned if this parameter is omitted.
sourcepub fn set_job_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_job_ids(self, input: Option<Vec<String>>) -> Self
The identification numbers of the export jobs to return.
An export job ID is returned when you create an export using the ExportAutoScalingGroupRecommendations
or ExportEC2InstanceRecommendations
actions.
All export jobs created in the last seven days are returned if this parameter is omitted.
sourcepub fn get_job_ids(&self) -> &Option<Vec<String>>
pub fn get_job_ids(&self) -> &Option<Vec<String>>
The identification numbers of the export jobs to return.
An export job ID is returned when you create an export using the ExportAutoScalingGroupRecommendations
or ExportEC2InstanceRecommendations
actions.
All export jobs created in the last seven days are returned if this parameter is omitted.
sourcepub fn filters(self, input: JobFilter) -> Self
pub fn filters(self, input: JobFilter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
An array of objects to specify a filter that returns a more specific list of export jobs.
sourcepub fn set_filters(self, input: Option<Vec<JobFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<JobFilter>>) -> Self
An array of objects to specify a filter that returns a more specific list of export jobs.
sourcepub fn get_filters(&self) -> &Option<Vec<JobFilter>>
pub fn get_filters(&self) -> &Option<Vec<JobFilter>>
An array of objects to specify a filter that returns a more specific list of export jobs.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to advance to the next page of export jobs.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to advance to the next page of export jobs.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to advance to the next page of export jobs.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of export jobs to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of export jobs to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of export jobs to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
sourcepub fn build(self) -> Result<DescribeRecommendationExportJobsInput, BuildError>
pub fn build(self) -> Result<DescribeRecommendationExportJobsInput, BuildError>
Consumes the builder and constructs a DescribeRecommendationExportJobsInput
.
source§impl DescribeRecommendationExportJobsInputBuilder
impl DescribeRecommendationExportJobsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeRecommendationExportJobsOutput, SdkError<DescribeRecommendationExportJobsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeRecommendationExportJobsOutput, SdkError<DescribeRecommendationExportJobsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeRecommendationExportJobsInputBuilder
impl Clone for DescribeRecommendationExportJobsInputBuilder
source§fn clone(&self) -> DescribeRecommendationExportJobsInputBuilder
fn clone(&self) -> DescribeRecommendationExportJobsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeRecommendationExportJobsInputBuilder
impl Default for DescribeRecommendationExportJobsInputBuilder
source§fn default() -> DescribeRecommendationExportJobsInputBuilder
fn default() -> DescribeRecommendationExportJobsInputBuilder
source§impl PartialEq for DescribeRecommendationExportJobsInputBuilder
impl PartialEq for DescribeRecommendationExportJobsInputBuilder
source§fn eq(&self, other: &DescribeRecommendationExportJobsInputBuilder) -> bool
fn eq(&self, other: &DescribeRecommendationExportJobsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeRecommendationExportJobsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeRecommendationExportJobsInputBuilder
impl RefUnwindSafe for DescribeRecommendationExportJobsInputBuilder
impl Send for DescribeRecommendationExportJobsInputBuilder
impl Sync for DescribeRecommendationExportJobsInputBuilder
impl Unpin for DescribeRecommendationExportJobsInputBuilder
impl UnwindSafe for DescribeRecommendationExportJobsInputBuilder
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