Struct aws_sdk_computeoptimizer::operation::get_license_recommendations::builders::GetLicenseRecommendationsOutputBuilder
source · #[non_exhaustive]pub struct GetLicenseRecommendationsOutputBuilder { /* private fields */ }
Expand description
A builder for GetLicenseRecommendationsOutput
.
Implementations§
source§impl GetLicenseRecommendationsOutputBuilder
impl GetLicenseRecommendationsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to advance to the next page of license recommendations.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to advance to the next page of license recommendations.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to advance to the next page of license recommendations.
sourcepub fn license_recommendations(self, input: LicenseRecommendation) -> Self
pub fn license_recommendations(self, input: LicenseRecommendation) -> Self
Appends an item to license_recommendations
.
To override the contents of this collection use set_license_recommendations
.
An array of objects that describe license recommendations.
sourcepub fn set_license_recommendations(
self,
input: Option<Vec<LicenseRecommendation>>
) -> Self
pub fn set_license_recommendations( self, input: Option<Vec<LicenseRecommendation>> ) -> Self
An array of objects that describe license recommendations.
sourcepub fn get_license_recommendations(&self) -> &Option<Vec<LicenseRecommendation>>
pub fn get_license_recommendations(&self) -> &Option<Vec<LicenseRecommendation>>
An array of objects that describe license recommendations.
sourcepub fn errors(self, input: GetRecommendationError) -> Self
pub fn errors(self, input: GetRecommendationError) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
An array of objects that describe errors of the request.
sourcepub fn set_errors(self, input: Option<Vec<GetRecommendationError>>) -> Self
pub fn set_errors(self, input: Option<Vec<GetRecommendationError>>) -> Self
An array of objects that describe errors of the request.
sourcepub fn get_errors(&self) -> &Option<Vec<GetRecommendationError>>
pub fn get_errors(&self) -> &Option<Vec<GetRecommendationError>>
An array of objects that describe errors of the request.
sourcepub fn build(self) -> GetLicenseRecommendationsOutput
pub fn build(self) -> GetLicenseRecommendationsOutput
Consumes the builder and constructs a GetLicenseRecommendationsOutput
.
Trait Implementations§
source§impl Clone for GetLicenseRecommendationsOutputBuilder
impl Clone for GetLicenseRecommendationsOutputBuilder
source§fn clone(&self) -> GetLicenseRecommendationsOutputBuilder
fn clone(&self) -> GetLicenseRecommendationsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetLicenseRecommendationsOutputBuilder
impl Default for GetLicenseRecommendationsOutputBuilder
source§fn default() -> GetLicenseRecommendationsOutputBuilder
fn default() -> GetLicenseRecommendationsOutputBuilder
source§impl PartialEq for GetLicenseRecommendationsOutputBuilder
impl PartialEq for GetLicenseRecommendationsOutputBuilder
source§fn eq(&self, other: &GetLicenseRecommendationsOutputBuilder) -> bool
fn eq(&self, other: &GetLicenseRecommendationsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetLicenseRecommendationsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetLicenseRecommendationsOutputBuilder
impl RefUnwindSafe for GetLicenseRecommendationsOutputBuilder
impl Send for GetLicenseRecommendationsOutputBuilder
impl Sync for GetLicenseRecommendationsOutputBuilder
impl Unpin for GetLicenseRecommendationsOutputBuilder
impl UnwindSafe for GetLicenseRecommendationsOutputBuilder
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