Interface Command.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Command.Builder,Command>,SdkBuilder<Command.Builder,Command>,SdkPojo
- Enclosing class:
- Command
public static interface Command.Builder extends SdkPojo, CopyableBuilder<Command.Builder,Command>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Command.Builderargs(String... args)Arguments for Amazon EMR to pass to the command for execution.Command.Builderargs(Collection<String> args)Arguments for Amazon EMR to pass to the command for execution.Command.Buildername(String name)The name of the command.Command.BuilderscriptPath(String scriptPath)The Amazon S3 location of the command 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 Detail
-
name
Command.Builder name(String 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
Command.Builder scriptPath(String 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
Command.Builder args(Collection<String> 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
Command.Builder args(String... 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.
-
-