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
Modifier and TypeMethodDescriptionThe name of the bootstrap action.default BootstrapActionConfig.Builder
scriptBootstrapAction
(Consumer<ScriptBootstrapActionConfig.Builder> scriptBootstrapAction) The script run by the bootstrap action.scriptBootstrapAction
(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, sdkFields
-
Method Details
-
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.Builder
avoiding the need to create one manually viaScriptBootstrapActionConfig.builder()
.When the
Consumer
completes,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:
-