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