#[non_exhaustive]pub struct ConsumedLicenseSummaryBuilder { /* private fields */ }Expand description
A builder for ConsumedLicenseSummary.
Implementations§
source§impl ConsumedLicenseSummaryBuilder
impl ConsumedLicenseSummaryBuilder
sourcepub fn resource_type(self, input: ResourceType) -> Self
pub fn resource_type(self, input: ResourceType) -> Self
Resource type of the resource consuming a license.
sourcepub fn set_resource_type(self, input: Option<ResourceType>) -> Self
pub fn set_resource_type(self, input: Option<ResourceType>) -> Self
Resource type of the resource consuming a license.
sourcepub fn get_resource_type(&self) -> &Option<ResourceType>
pub fn get_resource_type(&self) -> &Option<ResourceType>
Resource type of the resource consuming a license.
sourcepub fn consumed_licenses(self, input: i64) -> Self
pub fn consumed_licenses(self, input: i64) -> Self
Number of licenses consumed by the resource.
sourcepub fn set_consumed_licenses(self, input: Option<i64>) -> Self
pub fn set_consumed_licenses(self, input: Option<i64>) -> Self
Number of licenses consumed by the resource.
sourcepub fn get_consumed_licenses(&self) -> &Option<i64>
pub fn get_consumed_licenses(&self) -> &Option<i64>
Number of licenses consumed by the resource.
sourcepub fn build(self) -> ConsumedLicenseSummary
pub fn build(self) -> ConsumedLicenseSummary
Consumes the builder and constructs a ConsumedLicenseSummary.
Trait Implementations§
source§impl Clone for ConsumedLicenseSummaryBuilder
impl Clone for ConsumedLicenseSummaryBuilder
source§fn clone(&self) -> ConsumedLicenseSummaryBuilder
fn clone(&self) -> ConsumedLicenseSummaryBuilder
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 Default for ConsumedLicenseSummaryBuilder
impl Default for ConsumedLicenseSummaryBuilder
source§fn default() -> ConsumedLicenseSummaryBuilder
fn default() -> ConsumedLicenseSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ConsumedLicenseSummaryBuilder> for ConsumedLicenseSummaryBuilder
impl PartialEq<ConsumedLicenseSummaryBuilder> for ConsumedLicenseSummaryBuilder
source§fn eq(&self, other: &ConsumedLicenseSummaryBuilder) -> bool
fn eq(&self, other: &ConsumedLicenseSummaryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConsumedLicenseSummaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ConsumedLicenseSummaryBuilder
impl Send for ConsumedLicenseSummaryBuilder
impl Sync for ConsumedLicenseSummaryBuilder
impl Unpin for ConsumedLicenseSummaryBuilder
impl UnwindSafe for ConsumedLicenseSummaryBuilder
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