@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 this job command.
|
String |
getScriptLocation()
Specifies the location of a script that executes a job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of this job command.
|
void |
setScriptLocation(String scriptLocation)
Specifies the location of a script that executes a job.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
JobCommand |
withName(String name)
The name of this job command.
|
JobCommand |
withScriptLocation(String scriptLocation)
Specifies the location of a script that executes a job.
|
public void setName(String name)
The name of this job command.
name
- The name of this job command.public String getName()
The name of this job command.
public JobCommand withName(String name)
The name of this job command.
name
- The name of this job command.public void setScriptLocation(String scriptLocation)
Specifies the location of a script that executes a job.
scriptLocation
- Specifies the location of a script that executes a job.public String getScriptLocation()
Specifies the location of a script that executes a job.
public JobCommand withScriptLocation(String scriptLocation)
Specifies the location of a script that executes a job.
scriptLocation
- Specifies the location of a script that executes a job.public String toString()
toString
in class Object
Object.toString()
public JobCommand clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.