Interface EnableSecurityHubRequest.Builder

    • Method Detail

      • tags

        EnableSecurityHubRequest.Builder tags​(Map<String,​String> 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, ControlFindingGenerator
      • 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:
        ControlFindingGenerator, ControlFindingGenerator