Interface WorkflowStepAutomationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkflowStepAutomationConfiguration.Builder,
,WorkflowStepAutomationConfiguration> SdkBuilder<WorkflowStepAutomationConfiguration.Builder,
,WorkflowStepAutomationConfiguration> SdkPojo
- Enclosing class:
WorkflowStepAutomationConfiguration
@Mutable
@NotThreadSafe
public static interface WorkflowStepAutomationConfiguration.Builder
extends SdkPojo, CopyableBuilder<WorkflowStepAutomationConfiguration.Builder,WorkflowStepAutomationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncommand
(Consumer<PlatformCommand.Builder> command) The command required to run the script.command
(PlatformCommand command) The command required to run the script.runEnvironment
(String runEnvironment) The source or target environment.runEnvironment
(RunEnvironment runEnvironment) The source or target environment.scriptLocationS3Bucket
(String scriptLocationS3Bucket) The Amazon S3 bucket where the script is located.scriptLocationS3Key
(Consumer<PlatformScriptKey.Builder> scriptLocationS3Key) The Amazon S3 key for the script location.scriptLocationS3Key
(PlatformScriptKey scriptLocationS3Key) The Amazon S3 key for the script location.targetType
(String targetType) The servers on which to run the script.targetType
(TargetType targetType) The servers on which to run the script.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
-
scriptLocationS3Bucket
The Amazon S3 bucket where the script is located.
- Parameters:
scriptLocationS3Bucket
- The Amazon S3 bucket where the script is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptLocationS3Key
WorkflowStepAutomationConfiguration.Builder scriptLocationS3Key(PlatformScriptKey scriptLocationS3Key) The Amazon S3 key for the script location.
- Parameters:
scriptLocationS3Key
- The Amazon S3 key for the script location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptLocationS3Key
default WorkflowStepAutomationConfiguration.Builder scriptLocationS3Key(Consumer<PlatformScriptKey.Builder> scriptLocationS3Key) The Amazon S3 key for the script location.
This is a convenience method that creates an instance of thePlatformScriptKey.Builder
avoiding the need to create one manually viaPlatformScriptKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscriptLocationS3Key(PlatformScriptKey)
.- Parameters:
scriptLocationS3Key
- a consumer that will call methods onPlatformScriptKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
command
The command required to run the script.
- Parameters:
command
- The command required to run the script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
command
default WorkflowStepAutomationConfiguration.Builder command(Consumer<PlatformCommand.Builder> command) The command required to run the script.
This is a convenience method that creates an instance of thePlatformCommand.Builder
avoiding the need to create one manually viaPlatformCommand.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommand(PlatformCommand)
.- Parameters:
command
- a consumer that will call methods onPlatformCommand.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runEnvironment
The source or target environment.
- Parameters:
runEnvironment
- The source or target environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runEnvironment
The source or target environment.
- Parameters:
runEnvironment
- The source or target environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetType
The servers on which to run the script.
- Parameters:
targetType
- The servers on which to run the script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetType
The servers on which to run the script.
- Parameters:
targetType
- The servers on which to run the script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-