Interface ParameterConfiguration.Builder

  • Method Details

    • valueType

      ParameterConfiguration.Builder valueType(String valueType)

      Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.

      When ValueType is set equal to DEFAULT, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. When ValueType is set equal to DEFAULT, Security Hub ignores user-provided input for the Value field.

      When ValueType is set equal to CUSTOM, the Value field can't be empty.

      Parameters:
      valueType - Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.

      When ValueType is set equal to DEFAULT, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. When ValueType is set equal to DEFAULT, Security Hub ignores user-provided input for the Value field.

      When ValueType is set equal to CUSTOM, the Value field can't be empty.

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

      Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.

      When ValueType is set equal to DEFAULT, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. When ValueType is set equal to DEFAULT, Security Hub ignores user-provided input for the Value field.

      When ValueType is set equal to CUSTOM, the Value field can't be empty.

      Parameters:
      valueType - Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.

      When ValueType is set equal to DEFAULT, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. When ValueType is set equal to DEFAULT, Security Hub ignores user-provided input for the Value field.

      When ValueType is set equal to CUSTOM, the Value field can't be empty.

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

      The current value of a control parameter.

      Parameters:
      value - The current value of a control parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The current value of a control parameter.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to value(ParameterValue).

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