@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobCommand extends Object implements Serializable, Cloneable, StructuredPojo
Specifies code executed when a job is run.
| Constructor and Description |
|---|
JobCommand() |
| Modifier and Type | Method and Description |
|---|---|
JobCommand |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the job command: this must be
glueetl, for an Apache Spark ETL job, or
pythonshell, for a Python shell job. |
String |
getScriptLocation()
Specifies the S3 path to a script that executes a job (required).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the job command: this must be
glueetl, for an Apache Spark ETL job, or
pythonshell, for a Python shell job. |
void |
setScriptLocation(String scriptLocation)
Specifies the S3 path to a script that executes a job (required).
|
String |
toString()
Returns a string representation of this object.
|
JobCommand |
withName(String name)
The name of the job command: this must be
glueetl, for an Apache Spark ETL job, or
pythonshell, for a Python shell job. |
JobCommand |
withScriptLocation(String scriptLocation)
Specifies the S3 path to a script that executes a job (required).
|
public void setName(String name)
The name of the job command: this must be glueetl, for an Apache Spark ETL job, or
pythonshell, for a Python shell job.
name - The name of the job command: this must be glueetl, for an Apache Spark ETL job, or
pythonshell, for a Python shell job.public String getName()
The name of the job command: this must be glueetl, for an Apache Spark ETL job, or
pythonshell, for a Python shell job.
glueetl, for an Apache Spark ETL job, or
pythonshell, for a Python shell job.public JobCommand withName(String name)
The name of the job command: this must be glueetl, for an Apache Spark ETL job, or
pythonshell, for a Python shell job.
name - The name of the job command: this must be glueetl, for an Apache Spark ETL job, or
pythonshell, for a Python shell job.public void setScriptLocation(String scriptLocation)
Specifies the S3 path to a script that executes a job (required).
scriptLocation - Specifies the S3 path to a script that executes a job (required).public String getScriptLocation()
Specifies the S3 path to a script that executes a job (required).
public JobCommand withScriptLocation(String scriptLocation)
Specifies the S3 path to a script that executes a job (required).
scriptLocation - Specifies the S3 path to a script that executes a job (required).public String toString()
toString in class ObjectObject.toString()public JobCommand clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.