CopyableBuilder<Command.Builder,Command>
, SdkBuilder<Command.Builder,Command>
public static interface Command.Builder extends CopyableBuilder<Command.Builder,Command>
Modifier and Type | Method | Description |
---|---|---|
Command.Builder |
args(String... args) |
Arguments for Amazon EMR to pass to the command for execution.
|
Command.Builder |
args(Collection<String> args) |
Arguments for Amazon EMR to pass to the command for execution.
|
Command.Builder |
name(String name) |
The name of the command.
|
Command.Builder |
scriptPath(String scriptPath) |
The Amazon S3 location of the command script.
|
copy
apply, build
Command.Builder name(String name)
The name of the command.
name
- The name of the command.Command.Builder scriptPath(String scriptPath)
The Amazon S3 location of the command script.
scriptPath
- The Amazon S3 location of the command script.Command.Builder args(Collection<String> args)
Arguments for Amazon EMR to pass to the command for execution.
args
- Arguments for Amazon EMR to pass to the command for execution.Command.Builder args(String... args)
Arguments for Amazon EMR to pass to the command for execution.
NOTE: This method appends the values to the existing list (if any). Use
#setArgs(java.util.Collection)
or #withArgs(java.util.Collection)
if you want to override the
existing values.
args
- Arguments for Amazon EMR to pass to the command for execution.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.