#[non_exhaustive]pub struct ResourceComplianceSummaryItemBuilder { /* private fields */ }Expand description
A builder for ResourceComplianceSummaryItem.
Implementations§
source§impl ResourceComplianceSummaryItemBuilder
impl ResourceComplianceSummaryItemBuilder
sourcepub fn compliance_type(self, input: impl Into<String>) -> Self
pub fn compliance_type(self, input: impl Into<String>) -> Self
The compliance type.
sourcepub fn set_compliance_type(self, input: Option<String>) -> Self
pub fn set_compliance_type(self, input: Option<String>) -> Self
The compliance type.
sourcepub fn get_compliance_type(&self) -> &Option<String>
pub fn get_compliance_type(&self) -> &Option<String>
The compliance type.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The resource type.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The resource type.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
The resource type.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The resource ID.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The resource ID.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The resource ID.
sourcepub fn status(self, input: ComplianceStatus) -> Self
pub fn status(self, input: ComplianceStatus) -> Self
The compliance status for the resource.
sourcepub fn set_status(self, input: Option<ComplianceStatus>) -> Self
pub fn set_status(self, input: Option<ComplianceStatus>) -> Self
The compliance status for the resource.
sourcepub fn get_status(&self) -> &Option<ComplianceStatus>
pub fn get_status(&self) -> &Option<ComplianceStatus>
The compliance status for the resource.
sourcepub fn overall_severity(self, input: ComplianceSeverity) -> Self
pub fn overall_severity(self, input: ComplianceSeverity) -> Self
The highest severity item found for the resource. The resource is compliant for this item.
sourcepub fn set_overall_severity(self, input: Option<ComplianceSeverity>) -> Self
pub fn set_overall_severity(self, input: Option<ComplianceSeverity>) -> Self
The highest severity item found for the resource. The resource is compliant for this item.
sourcepub fn get_overall_severity(&self) -> &Option<ComplianceSeverity>
pub fn get_overall_severity(&self) -> &Option<ComplianceSeverity>
The highest severity item found for the resource. The resource is compliant for this item.
sourcepub fn execution_summary(self, input: ComplianceExecutionSummary) -> Self
pub fn execution_summary(self, input: ComplianceExecutionSummary) -> Self
Information about the execution.
sourcepub fn set_execution_summary(
self,
input: Option<ComplianceExecutionSummary>
) -> Self
pub fn set_execution_summary( self, input: Option<ComplianceExecutionSummary> ) -> Self
Information about the execution.
sourcepub fn get_execution_summary(&self) -> &Option<ComplianceExecutionSummary>
pub fn get_execution_summary(&self) -> &Option<ComplianceExecutionSummary>
Information about the execution.
sourcepub fn compliant_summary(self, input: CompliantSummary) -> Self
pub fn compliant_summary(self, input: CompliantSummary) -> Self
A list of items that are compliant for the resource.
sourcepub fn set_compliant_summary(self, input: Option<CompliantSummary>) -> Self
pub fn set_compliant_summary(self, input: Option<CompliantSummary>) -> Self
A list of items that are compliant for the resource.
sourcepub fn get_compliant_summary(&self) -> &Option<CompliantSummary>
pub fn get_compliant_summary(&self) -> &Option<CompliantSummary>
A list of items that are compliant for the resource.
sourcepub fn non_compliant_summary(self, input: NonCompliantSummary) -> Self
pub fn non_compliant_summary(self, input: NonCompliantSummary) -> Self
A list of items that aren't compliant for the resource.
sourcepub fn set_non_compliant_summary(
self,
input: Option<NonCompliantSummary>
) -> Self
pub fn set_non_compliant_summary( self, input: Option<NonCompliantSummary> ) -> Self
A list of items that aren't compliant for the resource.
sourcepub fn get_non_compliant_summary(&self) -> &Option<NonCompliantSummary>
pub fn get_non_compliant_summary(&self) -> &Option<NonCompliantSummary>
A list of items that aren't compliant for the resource.
sourcepub fn build(self) -> ResourceComplianceSummaryItem
pub fn build(self) -> ResourceComplianceSummaryItem
Consumes the builder and constructs a ResourceComplianceSummaryItem.
Trait Implementations§
source§impl Clone for ResourceComplianceSummaryItemBuilder
impl Clone for ResourceComplianceSummaryItemBuilder
source§fn clone(&self) -> ResourceComplianceSummaryItemBuilder
fn clone(&self) -> ResourceComplianceSummaryItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ResourceComplianceSummaryItemBuilder
impl Default for ResourceComplianceSummaryItemBuilder
source§fn default() -> ResourceComplianceSummaryItemBuilder
fn default() -> ResourceComplianceSummaryItemBuilder
source§impl PartialEq for ResourceComplianceSummaryItemBuilder
impl PartialEq for ResourceComplianceSummaryItemBuilder
source§fn eq(&self, other: &ResourceComplianceSummaryItemBuilder) -> bool
fn eq(&self, other: &ResourceComplianceSummaryItemBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResourceComplianceSummaryItemBuilder
Auto Trait Implementations§
impl Freeze for ResourceComplianceSummaryItemBuilder
impl RefUnwindSafe for ResourceComplianceSummaryItemBuilder
impl Send for ResourceComplianceSummaryItemBuilder
impl Sync for ResourceComplianceSummaryItemBuilder
impl Unpin for ResourceComplianceSummaryItemBuilder
impl UnwindSafe for ResourceComplianceSummaryItemBuilder
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