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 ==.