@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobCommand extends Object implements Serializable, Cloneable, StructuredPojo
Specifies code that executes a job.
| 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. |
String |
getScriptLocation()
Specifies the S3 path to a script that executes a job (required).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The name of the job command: this must be
glueetl. |
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; useful for testing and debugging.
|
JobCommand |
withName(String name)
The name of the job command: this must be
glueetl. |
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.
name - The name of the job command: this must be glueetl.public String getName()
The name of the job command: this must be glueetl.
glueetl.public JobCommand withName(String name)
The name of the job command: this must be glueetl.
name - The name of the job command: this must be glueetl.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)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.