Struct aws_sdk_computeoptimizer::operation::get_ec2_instance_recommendations::GetEc2InstanceRecommendationsOutput
source · #[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() -> GetEc2InstanceRecommendationsOutputBuilder
pub fn builder() -> GetEc2InstanceRecommendationsOutputBuilder
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 ==
.source§impl RequestId for GetEc2InstanceRecommendationsOutput
impl RequestId for GetEc2InstanceRecommendationsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for GetEc2InstanceRecommendationsOutput
Auto Trait Implementations§
impl RefUnwindSafe for GetEc2InstanceRecommendationsOutput
impl Send for GetEc2InstanceRecommendationsOutput
impl Sync for GetEc2InstanceRecommendationsOutput
impl Unpin for GetEc2InstanceRecommendationsOutput
impl UnwindSafe for GetEc2InstanceRecommendationsOutput
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
Mutably borrows from an owned value. Read more