Struct aws_sdk_config::types::builders::ComplianceByResourceBuilder
source · #[non_exhaustive]pub struct ComplianceByResourceBuilder { /* private fields */ }Expand description
A builder for ComplianceByResource.
Implementations§
source§impl ComplianceByResourceBuilder
impl ComplianceByResourceBuilder
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The type of the Amazon Web Services resource that was evaluated.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The type of the Amazon Web Services resource that was evaluated.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
The type of the Amazon Web Services resource that was evaluated.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services resource that was evaluated.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services resource that was evaluated.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The ID of the Amazon Web Services resource that was evaluated.
sourcepub fn compliance(self, input: Compliance) -> Self
pub fn compliance(self, input: Compliance) -> Self
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
sourcepub fn set_compliance(self, input: Option<Compliance>) -> Self
pub fn set_compliance(self, input: Option<Compliance>) -> Self
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
sourcepub fn get_compliance(&self) -> &Option<Compliance>
pub fn get_compliance(&self) -> &Option<Compliance>
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
sourcepub fn build(self) -> ComplianceByResource
pub fn build(self) -> ComplianceByResource
Consumes the builder and constructs a ComplianceByResource.
Trait Implementations§
source§impl Clone for ComplianceByResourceBuilder
impl Clone for ComplianceByResourceBuilder
source§fn clone(&self) -> ComplianceByResourceBuilder
fn clone(&self) -> ComplianceByResourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ComplianceByResourceBuilder
impl Debug for ComplianceByResourceBuilder
source§impl Default for ComplianceByResourceBuilder
impl Default for ComplianceByResourceBuilder
source§fn default() -> ComplianceByResourceBuilder
fn default() -> ComplianceByResourceBuilder
source§impl PartialEq for ComplianceByResourceBuilder
impl PartialEq for ComplianceByResourceBuilder
source§fn eq(&self, other: &ComplianceByResourceBuilder) -> bool
fn eq(&self, other: &ComplianceByResourceBuilder) -> bool
self and other values to be equal, and is used
by ==.