#[non_exhaustive]pub struct SecurityPolicySummaryBuilder { /* private fields */ }
Expand description
A builder for SecurityPolicySummary
.
Implementations§
source§impl SecurityPolicySummaryBuilder
impl SecurityPolicySummaryBuilder
sourcepub fn type(self, input: SecurityPolicyType) -> Self
pub fn type(self, input: SecurityPolicyType) -> Self
The type of security policy.
sourcepub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
pub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
The type of security policy.
sourcepub fn policy_version(self, input: impl Into<String>) -> Self
pub fn policy_version(self, input: impl Into<String>) -> Self
The version of the policy.
sourcepub fn set_policy_version(self, input: Option<String>) -> Self
pub fn set_policy_version(self, input: Option<String>) -> Self
The version of the policy.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the security policy.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the security policy.
sourcepub fn created_date(self, input: i64) -> Self
pub fn created_date(self, input: i64) -> Self
The date the policy was created.
sourcepub fn set_created_date(self, input: Option<i64>) -> Self
pub fn set_created_date(self, input: Option<i64>) -> Self
The date the policy was created.
sourcepub fn last_modified_date(self, input: i64) -> Self
pub fn last_modified_date(self, input: i64) -> Self
The timestamp of when the policy was last modified.
sourcepub fn set_last_modified_date(self, input: Option<i64>) -> Self
pub fn set_last_modified_date(self, input: Option<i64>) -> Self
The timestamp of when the policy was last modified.
sourcepub fn build(self) -> SecurityPolicySummary
pub fn build(self) -> SecurityPolicySummary
Consumes the builder and constructs a SecurityPolicySummary
.
Trait Implementations§
source§impl Clone for SecurityPolicySummaryBuilder
impl Clone for SecurityPolicySummaryBuilder
source§fn clone(&self) -> SecurityPolicySummaryBuilder
fn clone(&self) -> SecurityPolicySummaryBuilder
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 Debug for SecurityPolicySummaryBuilder
impl Debug for SecurityPolicySummaryBuilder
source§impl Default for SecurityPolicySummaryBuilder
impl Default for SecurityPolicySummaryBuilder
source§fn default() -> SecurityPolicySummaryBuilder
fn default() -> SecurityPolicySummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SecurityPolicySummaryBuilder> for SecurityPolicySummaryBuilder
impl PartialEq<SecurityPolicySummaryBuilder> for SecurityPolicySummaryBuilder
source§fn eq(&self, other: &SecurityPolicySummaryBuilder) -> bool
fn eq(&self, other: &SecurityPolicySummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.