#[non_exhaustive]pub struct ConfigurationPolicySummaryBuilder { /* private fields */ }
Expand description
A builder for ConfigurationPolicySummary
.
Implementations§
source§impl ConfigurationPolicySummaryBuilder
impl ConfigurationPolicySummaryBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the configuration policy.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the configuration policy.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the configuration policy.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The universally unique identifier (UUID) of the configuration policy.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The universally unique identifier (UUID) of the configuration policy.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The universally unique identifier (UUID) of the configuration policy.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted: -, ., !, *, /
.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted: -, ., !, *, /
.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted: -, ., !, *, /
.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the configuration policy.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the configuration policy.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the configuration policy.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
sourcepub fn service_enabled(self, input: bool) -> Self
pub fn service_enabled(self, input: bool) -> Self
Indicates whether the service that the configuration policy applies to is enabled in the policy.
sourcepub fn set_service_enabled(self, input: Option<bool>) -> Self
pub fn set_service_enabled(self, input: Option<bool>) -> Self
Indicates whether the service that the configuration policy applies to is enabled in the policy.
sourcepub fn get_service_enabled(&self) -> &Option<bool>
pub fn get_service_enabled(&self) -> &Option<bool>
Indicates whether the service that the configuration policy applies to is enabled in the policy.
sourcepub fn build(self) -> ConfigurationPolicySummary
pub fn build(self) -> ConfigurationPolicySummary
Consumes the builder and constructs a ConfigurationPolicySummary
.
Trait Implementations§
source§impl Clone for ConfigurationPolicySummaryBuilder
impl Clone for ConfigurationPolicySummaryBuilder
source§fn clone(&self) -> ConfigurationPolicySummaryBuilder
fn clone(&self) -> ConfigurationPolicySummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConfigurationPolicySummaryBuilder
impl Default for ConfigurationPolicySummaryBuilder
source§fn default() -> ConfigurationPolicySummaryBuilder
fn default() -> ConfigurationPolicySummaryBuilder
source§impl PartialEq for ConfigurationPolicySummaryBuilder
impl PartialEq for ConfigurationPolicySummaryBuilder
source§fn eq(&self, other: &ConfigurationPolicySummaryBuilder) -> bool
fn eq(&self, other: &ConfigurationPolicySummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.