Interface SecurityHubPolicy.Builder

    • Method Detail

      • serviceEnabled

        SecurityHubPolicy.Builder serviceEnabled​(Boolean serviceEnabled)

        Indicates whether Security Hub is enabled in the policy.

        Parameters:
        serviceEnabled - Indicates whether Security Hub is enabled in the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabledStandardIdentifiers

        SecurityHubPolicy.Builder enabledStandardIdentifiers​(Collection<String> enabledStandardIdentifiers)

        A list that defines which security standards are enabled in the configuration policy.

        Parameters:
        enabledStandardIdentifiers - A list that defines which security standards are enabled in the configuration policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabledStandardIdentifiers

        SecurityHubPolicy.Builder enabledStandardIdentifiers​(String... enabledStandardIdentifiers)

        A list that defines which security standards are enabled in the configuration policy.

        Parameters:
        enabledStandardIdentifiers - A list that defines which security standards are enabled in the configuration policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityControlsConfiguration

        SecurityHubPolicy.Builder securityControlsConfiguration​(SecurityControlsConfiguration securityControlsConfiguration)

        An object that defines which security controls are enabled in the configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account.

        Parameters:
        securityControlsConfiguration - An object that defines which security controls are enabled in the configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.