Interface StepAutomationConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StepAutomationConfiguration.Builder,StepAutomationConfiguration>,SdkBuilder<StepAutomationConfiguration.Builder,StepAutomationConfiguration>,SdkPojo
- Enclosing class:
- StepAutomationConfiguration
public static interface StepAutomationConfiguration.Builder extends SdkPojo, CopyableBuilder<StepAutomationConfiguration.Builder,StepAutomationConfiguration>
-
-
Method Summary
-
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 Detail
-
scriptLocationS3Bucket
StepAutomationConfiguration.Builder scriptLocationS3Bucket(String 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
StepAutomationConfiguration.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 StepAutomationConfiguration.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.Builderavoiding the need to create one manually viaPlatformScriptKey.builder().When the
Consumercompletes,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:
scriptLocationS3Key(PlatformScriptKey)
-
command
StepAutomationConfiguration.Builder command(PlatformCommand command)
The command to run the script.
- Parameters:
command- The command to run the script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
command
default StepAutomationConfiguration.Builder command(Consumer<PlatformCommand.Builder> command)
The command to run the script.
This is a convenience method that creates an instance of thePlatformCommand.Builderavoiding the need to create one manually viaPlatformCommand.builder().When the
Consumercompletes,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:
command(PlatformCommand)
-
runEnvironment
StepAutomationConfiguration.Builder runEnvironment(String 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,RunEnvironment
-
runEnvironment
StepAutomationConfiguration.Builder runEnvironment(RunEnvironment 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,RunEnvironment
-
targetType
StepAutomationConfiguration.Builder targetType(String 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,TargetType
-
targetType
StepAutomationConfiguration.Builder targetType(TargetType 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,TargetType
-
-