StructuredPojo
, ToCopyableBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>
@Generated("software.amazon.awssdk:codegen") public class HadoopJarStepConfig extends Object implements StructuredPojo, ToCopyableBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>
A job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.
Modifier and Type | Class | Description |
---|---|---|
static interface |
HadoopJarStepConfig.Builder |
Modifier and Type | Method | Description |
---|---|---|
List<String> |
args() |
A list of command line arguments passed to the JAR file's main function when executed.
|
static HadoopJarStepConfig.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
jar() |
A path to a JAR file run during the step.
|
String |
mainClass() |
The name of the main class in the specified Java file.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
List<KeyValue> |
properties() |
A list of Java properties that are set when the step runs.
|
static Class<? extends HadoopJarStepConfig.Builder> |
serializableBuilderClass() |
|
HadoopJarStepConfig.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public List<KeyValue> properties()
A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.
public String jar()
A path to a JAR file run during the step.
public String mainClass()
The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.
public List<String> args()
A list of command line arguments passed to the JAR file's main function when executed.
public HadoopJarStepConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>
public static HadoopJarStepConfig.Builder builder()
public static Class<? extends HadoopJarStepConfig.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.