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 Details

    • 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

      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

      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 the Policy.Builder avoiding the need to create one manually via Policy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configurationPolicy(Policy).

      Parameters:
      configurationPolicy - a consumer that will call methods on Policy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateConfigurationPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.