public static interface BootstrapActionConfig.Builder extends SdkPojo, CopyableBuilder<BootstrapActionConfig.Builder,BootstrapActionConfig>
Modifier and Type | Method and Description |
---|---|
BootstrapActionConfig.Builder |
name(String name)
The name of the bootstrap action.
|
default BootstrapActionConfig.Builder |
scriptBootstrapAction(Consumer<ScriptBootstrapActionConfig.Builder> scriptBootstrapAction)
The script run by the bootstrap action.
|
BootstrapActionConfig.Builder |
scriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
BootstrapActionConfig.Builder name(String name)
The name of the bootstrap action.
name
- The name of the bootstrap action.BootstrapActionConfig.Builder scriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
scriptBootstrapAction
- The script run by the bootstrap action.default BootstrapActionConfig.Builder scriptBootstrapAction(Consumer<ScriptBootstrapActionConfig.Builder> scriptBootstrapAction)
The script run by the bootstrap action.
This is a convenience that creates an instance of theScriptBootstrapActionConfig.Builder
avoiding
the need to create one manually via ScriptBootstrapActionConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to scriptBootstrapAction(ScriptBootstrapActionConfig)
.scriptBootstrapAction
- a consumer that will call methods on ScriptBootstrapActionConfig.Builder
scriptBootstrapAction(ScriptBootstrapActionConfig)
Copyright © 2020. All rights reserved.