Struct aws_sdk_computeoptimizer::operation::get_ebs_volume_recommendations::GetEbsVolumeRecommendationsInput
source · #[non_exhaustive]pub struct GetEbsVolumeRecommendationsInput {
pub volume_arns: Option<Vec<String>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub filters: Option<Vec<EbsFilter>>,
pub account_ids: Option<Vec<String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.volume_arns: Option<Vec<String>>The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
next_token: Option<String>The token to advance to the next page of volume recommendations.
max_results: Option<i32>The maximum number of volume recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken value.
filters: Option<Vec<EbsFilter>>An array of objects to specify a filter that returns a more specific list of volume recommendations.
account_ids: Option<Vec<String>>The ID of the Amazon Web Services account for which to return volume recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations.
Only one account ID can be specified per request.
Implementations§
source§impl GetEbsVolumeRecommendationsInput
impl GetEbsVolumeRecommendationsInput
sourcepub fn volume_arns(&self) -> &[String]
pub fn volume_arns(&self) -> &[String]
The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .volume_arns.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to advance to the next page of volume recommendations.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of volume recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken value.
sourcepub fn filters(&self) -> &[EbsFilter]
pub fn filters(&self) -> &[EbsFilter]
An array of objects to specify a filter that returns a more specific list of volume recommendations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none().
sourcepub fn account_ids(&self) -> &[String]
pub fn account_ids(&self) -> &[String]
The ID of the Amazon Web Services account for which to return volume recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations.
Only one account ID can be specified per request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .account_ids.is_none().
source§impl GetEbsVolumeRecommendationsInput
impl GetEbsVolumeRecommendationsInput
sourcepub fn builder() -> GetEbsVolumeRecommendationsInputBuilder
pub fn builder() -> GetEbsVolumeRecommendationsInputBuilder
Creates a new builder-style object to manufacture GetEbsVolumeRecommendationsInput.
Trait Implementations§
source§impl Clone for GetEbsVolumeRecommendationsInput
impl Clone for GetEbsVolumeRecommendationsInput
source§fn clone(&self) -> GetEbsVolumeRecommendationsInput
fn clone(&self) -> GetEbsVolumeRecommendationsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for GetEbsVolumeRecommendationsInput
impl PartialEq for GetEbsVolumeRecommendationsInput
source§fn eq(&self, other: &GetEbsVolumeRecommendationsInput) -> bool
fn eq(&self, other: &GetEbsVolumeRecommendationsInput) -> bool
self and other values to be equal, and is used
by ==.