#[non_exhaustive]pub struct GetEc2InstanceRecommendationsOutput { /* private fields */ }Implementations§
source§impl GetEc2InstanceRecommendationsOutput
impl GetEc2InstanceRecommendationsOutput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to use to advance to the next page of instance recommendations.
This value is null when there are no more pages of instance recommendations to return.
sourcepub fn instance_recommendations(&self) -> Option<&[InstanceRecommendation]>
pub fn instance_recommendations(&self) -> Option<&[InstanceRecommendation]>
An array of objects that describe instance recommendations.
sourcepub fn errors(&self) -> Option<&[GetRecommendationError]>
pub fn errors(&self) -> Option<&[GetRecommendationError]>
An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an instance of an unsupported instance family.
source§impl GetEc2InstanceRecommendationsOutput
impl GetEc2InstanceRecommendationsOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetEc2InstanceRecommendationsOutput.
Trait Implementations§
source§impl Clone for GetEc2InstanceRecommendationsOutput
impl Clone for GetEc2InstanceRecommendationsOutput
source§fn clone(&self) -> GetEc2InstanceRecommendationsOutput
fn clone(&self) -> GetEc2InstanceRecommendationsOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq<GetEc2InstanceRecommendationsOutput> for GetEc2InstanceRecommendationsOutput
impl PartialEq<GetEc2InstanceRecommendationsOutput> for GetEc2InstanceRecommendationsOutput
source§fn eq(&self, other: &GetEc2InstanceRecommendationsOutput) -> bool
fn eq(&self, other: &GetEc2InstanceRecommendationsOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.