Interface EnableSecurityHubRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<EnableSecurityHubRequest.Builder,EnableSecurityHubRequest>, SdkBuilder<EnableSecurityHubRequest.Builder,EnableSecurityHubRequest>, SdkPojo, SdkRequest.Builder, SecurityHubRequest.Builder
Enclosing class:
EnableSecurityHubRequest

public static interface EnableSecurityHubRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<EnableSecurityHubRequest.Builder,EnableSecurityHubRequest>
  • Method Details

    • tags

      The tags to add to the hub resource when you enable Security Hub.

      Parameters:
      tags - The tags to add to the hub resource when you enable Security Hub.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enableDefaultStandards

      EnableSecurityHubRequest.Builder enableDefaultStandards(Boolean enableDefaultStandards)

      Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not provide a value for EnableDefaultStandards, it is set to true. To not enable the automatically enabled standards, set EnableDefaultStandards to false.

      Parameters:
      enableDefaultStandards - Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not provide a value for EnableDefaultStandards, it is set to true. To not enable the automatically enabled standards, set EnableDefaultStandards to false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlFindingGenerator

      EnableSecurityHubRequest.Builder controlFindingGenerator(String controlFindingGenerator)

      This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.

      If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.

      The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL if you enabled Security Hub on or after February 23, 2023.

      Parameters:
      controlFindingGenerator - This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.

      If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.

      The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL if you enabled Security Hub on or after February 23, 2023.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • controlFindingGenerator

      EnableSecurityHubRequest.Builder controlFindingGenerator(ControlFindingGenerator controlFindingGenerator)

      This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.

      If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.

      The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL if you enabled Security Hub on or after February 23, 2023.

      Parameters:
      controlFindingGenerator - This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.

      If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.

      The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL if you enabled Security Hub on or after February 23, 2023.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

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