Struct aws_sdk_securityhub::operation::update_configuration_policy::builders::UpdateConfigurationPolicyInputBuilder
source · #[non_exhaustive]pub struct UpdateConfigurationPolicyInputBuilder { /* private fields */ }
Expand description
A builder for UpdateConfigurationPolicyInput
.
Implementations§
source§impl UpdateConfigurationPolicyInputBuilder
impl UpdateConfigurationPolicyInputBuilder
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
This field is required.sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The Amazon Resource Name (ARN) or 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_reason(self, input: impl Into<String>) -> Self
pub fn updated_reason(self, input: impl Into<String>) -> Self
The reason for updating the configuration policy.
sourcepub fn set_updated_reason(self, input: Option<String>) -> Self
pub fn set_updated_reason(self, input: Option<String>) -> Self
The reason for updating the configuration policy.
sourcepub fn get_updated_reason(&self) -> &Option<String>
pub fn get_updated_reason(&self) -> &Option<String>
The reason for updating the configuration policy.
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 you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration.
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 you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration.
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 you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration.
sourcepub fn build(self) -> Result<UpdateConfigurationPolicyInput, BuildError>
pub fn build(self) -> Result<UpdateConfigurationPolicyInput, BuildError>
Consumes the builder and constructs a UpdateConfigurationPolicyInput
.
source§impl UpdateConfigurationPolicyInputBuilder
impl UpdateConfigurationPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateConfigurationPolicyOutput, SdkError<UpdateConfigurationPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateConfigurationPolicyOutput, SdkError<UpdateConfigurationPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateConfigurationPolicyInputBuilder
impl Clone for UpdateConfigurationPolicyInputBuilder
source§fn clone(&self) -> UpdateConfigurationPolicyInputBuilder
fn clone(&self) -> UpdateConfigurationPolicyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateConfigurationPolicyInputBuilder
impl Default for UpdateConfigurationPolicyInputBuilder
source§fn default() -> UpdateConfigurationPolicyInputBuilder
fn default() -> UpdateConfigurationPolicyInputBuilder
source§impl PartialEq for UpdateConfigurationPolicyInputBuilder
impl PartialEq for UpdateConfigurationPolicyInputBuilder
source§fn eq(&self, other: &UpdateConfigurationPolicyInputBuilder) -> bool
fn eq(&self, other: &UpdateConfigurationPolicyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.