Struct aws_sdk_licensemanager::types::builders::LicenseUsageBuilder
source · #[non_exhaustive]pub struct LicenseUsageBuilder { /* private fields */ }Expand description
A builder for LicenseUsage.
Implementations§
source§impl LicenseUsageBuilder
impl LicenseUsageBuilder
sourcepub fn entitlement_usages(self, input: EntitlementUsage) -> Self
pub fn entitlement_usages(self, input: EntitlementUsage) -> Self
Appends an item to entitlement_usages.
To override the contents of this collection use set_entitlement_usages.
License entitlement usages.
sourcepub fn set_entitlement_usages(
self,
input: Option<Vec<EntitlementUsage>>
) -> Self
pub fn set_entitlement_usages( self, input: Option<Vec<EntitlementUsage>> ) -> Self
License entitlement usages.
sourcepub fn get_entitlement_usages(&self) -> &Option<Vec<EntitlementUsage>>
pub fn get_entitlement_usages(&self) -> &Option<Vec<EntitlementUsage>>
License entitlement usages.
sourcepub fn build(self) -> LicenseUsage
pub fn build(self) -> LicenseUsage
Consumes the builder and constructs a LicenseUsage.
Trait Implementations§
source§impl Clone for LicenseUsageBuilder
impl Clone for LicenseUsageBuilder
source§fn clone(&self) -> LicenseUsageBuilder
fn clone(&self) -> LicenseUsageBuilder
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 Debug for LicenseUsageBuilder
impl Debug for LicenseUsageBuilder
source§impl Default for LicenseUsageBuilder
impl Default for LicenseUsageBuilder
source§fn default() -> LicenseUsageBuilder
fn default() -> LicenseUsageBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<LicenseUsageBuilder> for LicenseUsageBuilder
impl PartialEq<LicenseUsageBuilder> for LicenseUsageBuilder
source§fn eq(&self, other: &LicenseUsageBuilder) -> bool
fn eq(&self, other: &LicenseUsageBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LicenseUsageBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LicenseUsageBuilder
impl Send for LicenseUsageBuilder
impl Sync for LicenseUsageBuilder
impl Unpin for LicenseUsageBuilder
impl UnwindSafe for LicenseUsageBuilder
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