Interface SecurityControlsConfiguration.Builder

  • Method Details

    • enabledSecurityControlIdentifiers

      SecurityControlsConfiguration.Builder enabledSecurityControlIdentifiers(Collection<String> enabledSecurityControlIdentifiers)

      A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.

      Parameters:
      enabledSecurityControlIdentifiers - A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabledSecurityControlIdentifiers

      SecurityControlsConfiguration.Builder enabledSecurityControlIdentifiers(String... enabledSecurityControlIdentifiers)

      A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.

      Parameters:
      enabledSecurityControlIdentifiers - A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disabledSecurityControlIdentifiers

      SecurityControlsConfiguration.Builder disabledSecurityControlIdentifiers(Collection<String> disabledSecurityControlIdentifiers)

      A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.

      Parameters:
      disabledSecurityControlIdentifiers - A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disabledSecurityControlIdentifiers

      SecurityControlsConfiguration.Builder disabledSecurityControlIdentifiers(String... disabledSecurityControlIdentifiers)

      A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.

      Parameters:
      disabledSecurityControlIdentifiers - A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityControlCustomParameters

      SecurityControlsConfiguration.Builder securityControlCustomParameters(Collection<SecurityControlCustomParameter> securityControlCustomParameters)

      A list of security controls and control parameter values that are included in a configuration policy.

      Parameters:
      securityControlCustomParameters - A list of security controls and control parameter values that are included in a configuration policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityControlCustomParameters

      SecurityControlsConfiguration.Builder securityControlCustomParameters(SecurityControlCustomParameter... securityControlCustomParameters)

      A list of security controls and control parameter values that are included in a configuration policy.

      Parameters:
      securityControlCustomParameters - A list of security controls and control parameter values that are included in a configuration policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityControlCustomParameters

      SecurityControlsConfiguration.Builder securityControlCustomParameters(Consumer<SecurityControlCustomParameter.Builder>... securityControlCustomParameters)

      A list of security controls and control parameter values that are included in a configuration policy.

      This is a convenience method that creates an instance of the SecurityControlCustomParameter.Builder avoiding the need to create one manually via SecurityControlCustomParameter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to securityControlCustomParameters(List<SecurityControlCustomParameter>).

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