#[non_exhaustive]pub struct ProductViewSummaryBuilder { /* private fields */ }
Expand description
A builder for ProductViewSummary
.
Implementations§
source§impl ProductViewSummaryBuilder
impl ProductViewSummaryBuilder
sourcepub fn product_id(self, input: impl Into<String>) -> Self
pub fn product_id(self, input: impl Into<String>) -> Self
The product identifier.
sourcepub fn set_product_id(self, input: Option<String>) -> Self
pub fn set_product_id(self, input: Option<String>) -> Self
The product identifier.
sourcepub fn get_product_id(&self) -> &Option<String>
pub fn get_product_id(&self) -> &Option<String>
The product identifier.
sourcepub fn owner(self, input: impl Into<String>) -> Self
pub fn owner(self, input: impl Into<String>) -> Self
The owner of the product. Contact the product administrator for the significance of this value.
sourcepub fn set_owner(self, input: Option<String>) -> Self
pub fn set_owner(self, input: Option<String>) -> Self
The owner of the product. Contact the product administrator for the significance of this value.
sourcepub fn get_owner(&self) -> &Option<String>
pub fn get_owner(&self) -> &Option<String>
The owner of the product. Contact the product administrator for the significance of this value.
sourcepub fn short_description(self, input: impl Into<String>) -> Self
pub fn short_description(self, input: impl Into<String>) -> Self
Short description of the product.
sourcepub fn set_short_description(self, input: Option<String>) -> Self
pub fn set_short_description(self, input: Option<String>) -> Self
Short description of the product.
sourcepub fn get_short_description(&self) -> &Option<String>
pub fn get_short_description(&self) -> &Option<String>
Short description of the product.
sourcepub fn type(self, input: ProductType) -> Self
pub fn type(self, input: ProductType) -> Self
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE
, the product was created by Amazon Web Services Marketplace.
sourcepub fn set_type(self, input: Option<ProductType>) -> Self
pub fn set_type(self, input: Option<ProductType>) -> Self
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE
, the product was created by Amazon Web Services Marketplace.
sourcepub fn get_type(&self) -> &Option<ProductType>
pub fn get_type(&self) -> &Option<ProductType>
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE
, the product was created by Amazon Web Services Marketplace.
sourcepub fn distributor(self, input: impl Into<String>) -> Self
pub fn distributor(self, input: impl Into<String>) -> Self
The distributor of the product. Contact the product administrator for the significance of this value.
sourcepub fn set_distributor(self, input: Option<String>) -> Self
pub fn set_distributor(self, input: Option<String>) -> Self
The distributor of the product. Contact the product administrator for the significance of this value.
sourcepub fn get_distributor(&self) -> &Option<String>
pub fn get_distributor(&self) -> &Option<String>
The distributor of the product. Contact the product administrator for the significance of this value.
sourcepub fn has_default_path(self, input: bool) -> Self
pub fn has_default_path(self, input: bool) -> Self
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths
to disambiguate between paths. Otherwise, ListLaunchPaths
is not required, and the output of ProductViewSummary
can be used directly with DescribeProvisioningParameters
.
sourcepub fn set_has_default_path(self, input: Option<bool>) -> Self
pub fn set_has_default_path(self, input: Option<bool>) -> Self
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths
to disambiguate between paths. Otherwise, ListLaunchPaths
is not required, and the output of ProductViewSummary
can be used directly with DescribeProvisioningParameters
.
sourcepub fn get_has_default_path(&self) -> &Option<bool>
pub fn get_has_default_path(&self) -> &Option<bool>
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths
to disambiguate between paths. Otherwise, ListLaunchPaths
is not required, and the output of ProductViewSummary
can be used directly with DescribeProvisioningParameters
.
sourcepub fn support_email(self, input: impl Into<String>) -> Self
pub fn support_email(self, input: impl Into<String>) -> Self
The email contact information to obtain support for this Product.
sourcepub fn set_support_email(self, input: Option<String>) -> Self
pub fn set_support_email(self, input: Option<String>) -> Self
The email contact information to obtain support for this Product.
sourcepub fn get_support_email(&self) -> &Option<String>
pub fn get_support_email(&self) -> &Option<String>
The email contact information to obtain support for this Product.
sourcepub fn support_description(self, input: impl Into<String>) -> Self
pub fn support_description(self, input: impl Into<String>) -> Self
The description of the support for this Product.
sourcepub fn set_support_description(self, input: Option<String>) -> Self
pub fn set_support_description(self, input: Option<String>) -> Self
The description of the support for this Product.
sourcepub fn get_support_description(&self) -> &Option<String>
pub fn get_support_description(&self) -> &Option<String>
The description of the support for this Product.
sourcepub fn support_url(self, input: impl Into<String>) -> Self
pub fn support_url(self, input: impl Into<String>) -> Self
The URL information to obtain support for this Product.
sourcepub fn set_support_url(self, input: Option<String>) -> Self
pub fn set_support_url(self, input: Option<String>) -> Self
The URL information to obtain support for this Product.
sourcepub fn get_support_url(&self) -> &Option<String>
pub fn get_support_url(&self) -> &Option<String>
The URL information to obtain support for this Product.
sourcepub fn build(self) -> ProductViewSummary
pub fn build(self) -> ProductViewSummary
Consumes the builder and constructs a ProductViewSummary
.
Trait Implementations§
source§impl Clone for ProductViewSummaryBuilder
impl Clone for ProductViewSummaryBuilder
source§fn clone(&self) -> ProductViewSummaryBuilder
fn clone(&self) -> ProductViewSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProductViewSummaryBuilder
impl Debug for ProductViewSummaryBuilder
source§impl Default for ProductViewSummaryBuilder
impl Default for ProductViewSummaryBuilder
source§fn default() -> ProductViewSummaryBuilder
fn default() -> ProductViewSummaryBuilder
source§impl PartialEq for ProductViewSummaryBuilder
impl PartialEq for ProductViewSummaryBuilder
source§fn eq(&self, other: &ProductViewSummaryBuilder) -> bool
fn eq(&self, other: &ProductViewSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProductViewSummaryBuilder
Auto Trait Implementations§
impl Freeze for ProductViewSummaryBuilder
impl RefUnwindSafe for ProductViewSummaryBuilder
impl Send for ProductViewSummaryBuilder
impl Sync for ProductViewSummaryBuilder
impl Unpin for ProductViewSummaryBuilder
impl UnwindSafe for ProductViewSummaryBuilder
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