Interface UpdateConfigurationPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateConfigurationPolicyRequest.Builder,UpdateConfigurationPolicyRequest>,SdkBuilder<UpdateConfigurationPolicyRequest.Builder,UpdateConfigurationPolicyRequest>,SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
- UpdateConfigurationPolicyRequest
public static interface UpdateConfigurationPolicyRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<UpdateConfigurationPolicyRequest.Builder,UpdateConfigurationPolicyRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
-
-
-
Method Detail
-
identifier
UpdateConfigurationPolicyRequest.Builder identifier(String identifier)
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
- Parameters:
identifier- The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateConfigurationPolicyRequest.Builder name(String name)
The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted:
-, ., !, *, /.- Parameters:
name- The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted:-, ., !, *, /.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateConfigurationPolicyRequest.Builder description(String description)
The description of the configuration policy.
- Parameters:
description- The description of the configuration policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedReason
UpdateConfigurationPolicyRequest.Builder updatedReason(String updatedReason)
The reason for updating the configuration policy.
- Parameters:
updatedReason- The reason for updating the configuration policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationPolicy
UpdateConfigurationPolicyRequest.Builder configurationPolicy(Policy configurationPolicy)
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.
- Parameters:
configurationPolicy- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationPolicy
default UpdateConfigurationPolicyRequest.Builder configurationPolicy(Consumer<Policy.Builder> configurationPolicy)
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.
This is a convenience method that creates an instance of thePolicy.Builderavoiding the need to create one manually viaPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurationPolicy(Policy).- Parameters:
configurationPolicy- a consumer that will call methods onPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configurationPolicy(Policy)
-
overrideConfiguration
UpdateConfigurationPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateConfigurationPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-