@Generated(value="software.amazon.awssdk:codegen") public class HadoopStepConfig extends Object implements StructuredPojo, ToCopyableBuilder<HadoopStepConfig.Builder,HadoopStepConfig>
A cluster 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 and Description |
---|---|
static interface |
HadoopStepConfig.Builder |
Modifier and Type | Method and Description |
---|---|
List<String> |
args()
The list of command line arguments to pass to the JAR file's main function for execution.
|
static HadoopStepConfig.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jar()
The path to the JAR file that runs 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 . |
Map<String,String> |
properties()
The list of Java properties that are set when the step runs.
|
static Class<? extends HadoopStepConfig.Builder> |
serializableBuilderClass() |
HadoopStepConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String jar()
The path to the JAR file that runs during the step.
public Map<String,String> properties()
The 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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()
The list of command line arguments to pass to the JAR file's main function for execution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public HadoopStepConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HadoopStepConfig.Builder,HadoopStepConfig>
public static HadoopStepConfig.Builder builder()
public static Class<? extends HadoopStepConfig.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.