Interface BootstrapActionConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BootstrapActionConfig.Builder,BootstrapActionConfig>,SdkBuilder<BootstrapActionConfig.Builder,BootstrapActionConfig>,SdkPojo
- Enclosing class:
- BootstrapActionConfig
public static interface BootstrapActionConfig.Builder extends SdkPojo, CopyableBuilder<BootstrapActionConfig.Builder,BootstrapActionConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BootstrapActionConfig.Buildername(String name)The name of the bootstrap action.default BootstrapActionConfig.BuilderscriptBootstrapAction(Consumer<ScriptBootstrapActionConfig.Builder> scriptBootstrapAction)The script run by the bootstrap action.BootstrapActionConfig.BuilderscriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)The script run by the bootstrap action.-
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
-
name
BootstrapActionConfig.Builder name(String name)
The name of the bootstrap action.
- Parameters:
name- The name of the bootstrap action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptBootstrapAction
BootstrapActionConfig.Builder scriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
- Parameters:
scriptBootstrapAction- The script run by the bootstrap action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptBootstrapAction
default BootstrapActionConfig.Builder scriptBootstrapAction(Consumer<ScriptBootstrapActionConfig.Builder> scriptBootstrapAction)
The script run by the bootstrap action.
This is a convenience method that creates an instance of theScriptBootstrapActionConfig.Builderavoiding the need to create one manually viaScriptBootstrapActionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscriptBootstrapAction(ScriptBootstrapActionConfig).- Parameters:
scriptBootstrapAction- a consumer that will call methods onScriptBootstrapActionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scriptBootstrapAction(ScriptBootstrapActionConfig)
-
-