Interface Command.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Command.Builder,,Command> SdkBuilder<Command.Builder,,Command> SdkPojo
- Enclosing class:
Command
@Mutable
@NotThreadSafe
public static interface Command.Builder
extends SdkPojo, CopyableBuilder<Command.Builder,Command>
-
Method Summary
Modifier and TypeMethodDescriptionArguments for Amazon EMR to pass to the command for execution.args(Collection<String> args) Arguments for Amazon EMR to pass to the command for execution.The name of the command.scriptPath(String scriptPath) The Amazon S3 location of the command script.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the command.
- Parameters:
name- The name of the command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptPath
The Amazon S3 location of the command script.
- Parameters:
scriptPath- The Amazon S3 location of the command script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
args
Arguments for Amazon EMR to pass to the command for execution.
- Parameters:
args- Arguments for Amazon EMR to pass to the command for execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
args
Arguments for Amazon EMR to pass to the command for execution.
- Parameters:
args- Arguments for Amazon EMR to pass to the command for execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-