#[non_exhaustive]pub struct ComplianceSummaryByResourceTypeBuilder { /* private fields */ }Expand description
A builder for ComplianceSummaryByResourceType.
Implementations§
source§impl ComplianceSummaryByResourceTypeBuilder
impl ComplianceSummaryByResourceTypeBuilder
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The type of Amazon Web Services resource.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The type of Amazon Web Services resource.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
The type of Amazon Web Services resource.
sourcepub fn compliance_summary(self, input: ComplianceSummary) -> Self
pub fn compliance_summary(self, input: ComplianceSummary) -> Self
The number of Amazon Web Services resources that are compliant or noncompliant, up to a maximum of 100 for each.
sourcepub fn set_compliance_summary(self, input: Option<ComplianceSummary>) -> Self
pub fn set_compliance_summary(self, input: Option<ComplianceSummary>) -> Self
The number of Amazon Web Services resources that are compliant or noncompliant, up to a maximum of 100 for each.
sourcepub fn get_compliance_summary(&self) -> &Option<ComplianceSummary>
pub fn get_compliance_summary(&self) -> &Option<ComplianceSummary>
The number of Amazon Web Services resources that are compliant or noncompliant, up to a maximum of 100 for each.
sourcepub fn build(self) -> ComplianceSummaryByResourceType
pub fn build(self) -> ComplianceSummaryByResourceType
Consumes the builder and constructs a ComplianceSummaryByResourceType.
Trait Implementations§
source§impl Clone for ComplianceSummaryByResourceTypeBuilder
impl Clone for ComplianceSummaryByResourceTypeBuilder
source§fn clone(&self) -> ComplianceSummaryByResourceTypeBuilder
fn clone(&self) -> ComplianceSummaryByResourceTypeBuilder
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 ComplianceSummaryByResourceTypeBuilder
impl Default for ComplianceSummaryByResourceTypeBuilder
source§fn default() -> ComplianceSummaryByResourceTypeBuilder
fn default() -> ComplianceSummaryByResourceTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ComplianceSummaryByResourceTypeBuilder
impl PartialEq for ComplianceSummaryByResourceTypeBuilder
source§fn eq(&self, other: &ComplianceSummaryByResourceTypeBuilder) -> bool
fn eq(&self, other: &ComplianceSummaryByResourceTypeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ComplianceSummaryByResourceTypeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ComplianceSummaryByResourceTypeBuilder
impl Send for ComplianceSummaryByResourceTypeBuilder
impl Sync for ComplianceSummaryByResourceTypeBuilder
impl Unpin for ComplianceSummaryByResourceTypeBuilder
impl UnwindSafe for ComplianceSummaryByResourceTypeBuilder
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
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>
Creates a shared type from an unshared type.