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 ==
.