Interface ParameterConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ParameterConfiguration.Builder,
,ParameterConfiguration> SdkBuilder<ParameterConfiguration.Builder,
,ParameterConfiguration> SdkPojo
- Enclosing class:
ParameterConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault ParameterConfiguration.Builder
value
(Consumer<ParameterValue.Builder> value) The current value of a control parameter.value
(ParameterValue value) The current value of a control parameter.Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.valueType
(ParameterValueType valueType) Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 toDEFAULT
, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. WhenValueType
is set equal toDEFAULT
, Security Hub ignores user-provided input for theValue
field.When
ValueType
is set equal toCUSTOM
, theValue
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 toDEFAULT
, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. WhenValueType
is set equal toDEFAULT
, Security Hub ignores user-provided input for theValue
field.When
ValueType
is set equal toCUSTOM
, theValue
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 toDEFAULT
, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. WhenValueType
is set equal toDEFAULT
, Security Hub ignores user-provided input for theValue
field.When
ValueType
is set equal toCUSTOM
, theValue
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 toDEFAULT
, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. WhenValueType
is set equal toDEFAULT
, Security Hub ignores user-provided input for theValue
field.When
ValueType
is set equal toCUSTOM
, theValue
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 theParameterValue.Builder
avoiding the need to create one manually viaParameterValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(ParameterValue)
.- Parameters:
value
- a consumer that will call methods onParameterValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-