Interface UpdateSecurityHubConfigurationRequest.Builder

    • Method Detail

      • autoEnableControls

        UpdateSecurityHubConfigurationRequest.Builder autoEnableControls​(Boolean autoEnableControls)

        Whether to automatically enable new controls when they are added to standards that are enabled.

        By default, this is set to true, and new controls are enabled automatically. To not automatically enable new controls, set this to false.

        Parameters:
        autoEnableControls - Whether to automatically enable new controls when they are added to standards that are enabled.

        By default, this is set to true, and new controls are enabled automatically. To not automatically enable new controls, set this to false.

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

        UpdateSecurityHubConfigurationRequest.Builder controlFindingGenerator​(String controlFindingGenerator)

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

        For accounts that are part of an organization, this value can only be updated in the administrator account.

        Parameters:
        controlFindingGenerator - Updates 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.

        For accounts that are part of an organization, this value can only be updated in the administrator account.

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

        UpdateSecurityHubConfigurationRequest.Builder controlFindingGenerator​(ControlFindingGenerator controlFindingGenerator)

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

        For accounts that are part of an organization, this value can only be updated in the administrator account.

        Parameters:
        controlFindingGenerator - Updates 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.

        For accounts that are part of an organization, this value can only be updated in the administrator account.

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