Struct aws_sdk_securityhub::operation::get_configuration_policy::builders::GetConfigurationPolicyOutputBuilder
source · #[non_exhaustive]pub struct GetConfigurationPolicyOutputBuilder { /* private fields */ }
Expand description
A builder for GetConfigurationPolicyOutput
.
Implementations§
source§impl GetConfigurationPolicyOutputBuilder
impl GetConfigurationPolicyOutputBuilder
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 created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time, in UTC and ISO 8601 format, that the configuration policy was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time, in UTC and ISO 8601 format, that the configuration policy was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time, in UTC and ISO 8601 format, that the configuration policy was created.
sourcepub fn configuration_policy(self, input: Policy) -> Self
pub fn configuration_policy(self, input: Policy) -> Self
An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the policy includes a list of security controls that are enabled, Security Hub disables all other controls (including newly released controls). If the policy includes a list of security controls that are disabled, Security Hub enables all other controls (including newly released controls).
sourcepub fn set_configuration_policy(self, input: Option<Policy>) -> Self
pub fn set_configuration_policy(self, input: Option<Policy>) -> Self
An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the policy includes a list of security controls that are enabled, Security Hub disables all other controls (including newly released controls). If the policy includes a list of security controls that are disabled, Security Hub enables all other controls (including newly released controls).
sourcepub fn get_configuration_policy(&self) -> &Option<Policy>
pub fn get_configuration_policy(&self) -> &Option<Policy>
An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the policy includes a list of security controls that are enabled, Security Hub disables all other controls (including newly released controls). If the policy includes a list of security controls that are disabled, Security Hub enables all other controls (including newly released controls).
sourcepub fn build(self) -> GetConfigurationPolicyOutput
pub fn build(self) -> GetConfigurationPolicyOutput
Consumes the builder and constructs a GetConfigurationPolicyOutput
.
Trait Implementations§
source§impl Clone for GetConfigurationPolicyOutputBuilder
impl Clone for GetConfigurationPolicyOutputBuilder
source§fn clone(&self) -> GetConfigurationPolicyOutputBuilder
fn clone(&self) -> GetConfigurationPolicyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetConfigurationPolicyOutputBuilder
impl Default for GetConfigurationPolicyOutputBuilder
source§fn default() -> GetConfigurationPolicyOutputBuilder
fn default() -> GetConfigurationPolicyOutputBuilder
source§impl PartialEq for GetConfigurationPolicyOutputBuilder
impl PartialEq for GetConfigurationPolicyOutputBuilder
source§fn eq(&self, other: &GetConfigurationPolicyOutputBuilder) -> bool
fn eq(&self, other: &GetConfigurationPolicyOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetConfigurationPolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for GetConfigurationPolicyOutputBuilder
impl RefUnwindSafe for GetConfigurationPolicyOutputBuilder
impl Send for GetConfigurationPolicyOutputBuilder
impl Sync for GetConfigurationPolicyOutputBuilder
impl Unpin for GetConfigurationPolicyOutputBuilder
impl UnwindSafe for GetConfigurationPolicyOutputBuilder
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