Interface ParameterConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ParameterConfiguration.Builder,ParameterConfiguration>,SdkBuilder<ParameterConfiguration.Builder,ParameterConfiguration>,SdkPojo
- Enclosing class:
- ParameterConfiguration
public static interface ParameterConfiguration.Builder extends SdkPojo, CopyableBuilder<ParameterConfiguration.Builder,ParameterConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ParameterConfiguration.Buildervalue(Consumer<ParameterValue.Builder> value)The current value of a control parameter.ParameterConfiguration.Buildervalue(ParameterValue value)The current value of a control parameter.ParameterConfiguration.BuildervalueType(String valueType)Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.ParameterConfiguration.BuildervalueType(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 Detail
-
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
ValueTypeis 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. WhenValueTypeis set equal toDEFAULT, Security Hub ignores user-provided input for theValuefield.When
ValueTypeis set equal toCUSTOM, theValuefield 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
ValueTypeis 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. WhenValueTypeis set equal toDEFAULT, Security Hub ignores user-provided input for theValuefield.When
ValueTypeis set equal toCUSTOM, theValuefield can't be empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterValueType,ParameterValueType
-
valueType
ParameterConfiguration.Builder valueType(ParameterValueType valueType)
Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.
When
ValueTypeis 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. WhenValueTypeis set equal toDEFAULT, Security Hub ignores user-provided input for theValuefield.When
ValueTypeis set equal toCUSTOM, theValuefield 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
ValueTypeis 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. WhenValueTypeis set equal toDEFAULT, Security Hub ignores user-provided input for theValuefield.When
ValueTypeis set equal toCUSTOM, theValuefield can't be empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterValueType,ParameterValueType
-
value
ParameterConfiguration.Builder value(ParameterValue 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
default ParameterConfiguration.Builder value(Consumer<ParameterValue.Builder> value)
The current value of a control parameter.
This is a convenience method that creates an instance of theParameterValue.Builderavoiding the need to create one manually viaParameterValue.builder().When the
Consumercompletes,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:
value(ParameterValue)
-
-