Struct aws_sdk_fms::types::builders::PolicyComplianceStatusBuilder
source · #[non_exhaustive]pub struct PolicyComplianceStatusBuilder { /* private fields */ }
Expand description
A builder for PolicyComplianceStatus
.
Implementations§
source§impl PolicyComplianceStatusBuilder
impl PolicyComplianceStatusBuilder
sourcepub fn policy_owner(self, input: impl Into<String>) -> Self
pub fn policy_owner(self, input: impl Into<String>) -> Self
The Amazon Web Services account that created the Firewall Manager policy.
sourcepub fn set_policy_owner(self, input: Option<String>) -> Self
pub fn set_policy_owner(self, input: Option<String>) -> Self
The Amazon Web Services account that created the Firewall Manager policy.
sourcepub fn get_policy_owner(&self) -> &Option<String>
pub fn get_policy_owner(&self) -> &Option<String>
The Amazon Web Services account that created the Firewall Manager policy.
sourcepub fn policy_id(self, input: impl Into<String>) -> Self
pub fn policy_id(self, input: impl Into<String>) -> Self
The ID of the Firewall Manager policy.
sourcepub fn set_policy_id(self, input: Option<String>) -> Self
pub fn set_policy_id(self, input: Option<String>) -> Self
The ID of the Firewall Manager policy.
sourcepub fn get_policy_id(&self) -> &Option<String>
pub fn get_policy_id(&self) -> &Option<String>
The ID of the Firewall Manager policy.
sourcepub fn policy_name(self, input: impl Into<String>) -> Self
pub fn policy_name(self, input: impl Into<String>) -> Self
The name of the Firewall Manager policy.
sourcepub fn set_policy_name(self, input: Option<String>) -> Self
pub fn set_policy_name(self, input: Option<String>) -> Self
The name of the Firewall Manager policy.
sourcepub fn get_policy_name(&self) -> &Option<String>
pub fn get_policy_name(&self) -> &Option<String>
The name of the Firewall Manager policy.
sourcepub fn member_account(self, input: impl Into<String>) -> Self
pub fn member_account(self, input: impl Into<String>) -> Self
The member account ID.
sourcepub fn set_member_account(self, input: Option<String>) -> Self
pub fn set_member_account(self, input: Option<String>) -> Self
The member account ID.
sourcepub fn get_member_account(&self) -> &Option<String>
pub fn get_member_account(&self) -> &Option<String>
The member account ID.
sourcepub fn evaluation_results(self, input: EvaluationResult) -> Self
pub fn evaluation_results(self, input: EvaluationResult) -> Self
Appends an item to evaluation_results
.
To override the contents of this collection use set_evaluation_results
.
An array of EvaluationResult
objects.
sourcepub fn set_evaluation_results(
self,
input: Option<Vec<EvaluationResult>>
) -> Self
pub fn set_evaluation_results( self, input: Option<Vec<EvaluationResult>> ) -> Self
An array of EvaluationResult
objects.
sourcepub fn get_evaluation_results(&self) -> &Option<Vec<EvaluationResult>>
pub fn get_evaluation_results(&self) -> &Option<Vec<EvaluationResult>>
An array of EvaluationResult
objects.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
Timestamp of the last update to the EvaluationResult
objects.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
Timestamp of the last update to the EvaluationResult
objects.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
Timestamp of the last update to the EvaluationResult
objects.
sourcepub fn issue_info_map(
self,
k: DependentServiceName,
v: impl Into<String>
) -> Self
pub fn issue_info_map( self, k: DependentServiceName, v: impl Into<String> ) -> Self
Adds a key-value pair to issue_info_map
.
To override the contents of this collection use set_issue_info_map
.
Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
sourcepub fn set_issue_info_map(
self,
input: Option<HashMap<DependentServiceName, String>>
) -> Self
pub fn set_issue_info_map( self, input: Option<HashMap<DependentServiceName, String>> ) -> Self
Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
sourcepub fn get_issue_info_map(
&self
) -> &Option<HashMap<DependentServiceName, String>>
pub fn get_issue_info_map( &self ) -> &Option<HashMap<DependentServiceName, String>>
Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
sourcepub fn build(self) -> PolicyComplianceStatus
pub fn build(self) -> PolicyComplianceStatus
Consumes the builder and constructs a PolicyComplianceStatus
.
Trait Implementations§
source§impl Clone for PolicyComplianceStatusBuilder
impl Clone for PolicyComplianceStatusBuilder
source§fn clone(&self) -> PolicyComplianceStatusBuilder
fn clone(&self) -> PolicyComplianceStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PolicyComplianceStatusBuilder
impl Default for PolicyComplianceStatusBuilder
source§fn default() -> PolicyComplianceStatusBuilder
fn default() -> PolicyComplianceStatusBuilder
source§impl PartialEq for PolicyComplianceStatusBuilder
impl PartialEq for PolicyComplianceStatusBuilder
source§fn eq(&self, other: &PolicyComplianceStatusBuilder) -> bool
fn eq(&self, other: &PolicyComplianceStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PolicyComplianceStatusBuilder
Auto Trait Implementations§
impl Freeze for PolicyComplianceStatusBuilder
impl RefUnwindSafe for PolicyComplianceStatusBuilder
impl Send for PolicyComplianceStatusBuilder
impl Sync for PolicyComplianceStatusBuilder
impl Unpin for PolicyComplianceStatusBuilder
impl UnwindSafe for PolicyComplianceStatusBuilder
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