@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobDependency extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents an Batch job dependency.
| Constructor and Description |
|---|
JobDependency() |
| Modifier and Type | Method and Description |
|---|---|
JobDependency |
clone() |
boolean |
equals(Object obj) |
String |
getJobId()
The job ID of the Batch job that's associated with this dependency.
|
String |
getType()
The type of the job dependency.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setJobId(String jobId)
The job ID of the Batch job that's associated with this dependency.
|
void |
setType(String type)
The type of the job dependency.
|
String |
toString()
Returns a string representation of this object.
|
JobDependency |
withJobId(String jobId)
The job ID of the Batch job that's associated with this dependency.
|
JobDependency |
withType(ArrayJobDependency type)
The type of the job dependency.
|
JobDependency |
withType(String type)
The type of the job dependency.
|
public void setJobId(String jobId)
The job ID of the Batch job that's associated with this dependency.
jobId - The job ID of the Batch job that's associated with this dependency.public String getJobId()
The job ID of the Batch job that's associated with this dependency.
public JobDependency withJobId(String jobId)
The job ID of the Batch job that's associated with this dependency.
jobId - The job ID of the Batch job that's associated with this dependency.public void setType(String type)
The type of the job dependency.
type - The type of the job dependency.ArrayJobDependencypublic String getType()
The type of the job dependency.
ArrayJobDependencypublic JobDependency withType(String type)
The type of the job dependency.
type - The type of the job dependency.ArrayJobDependencypublic JobDependency withType(ArrayJobDependency type)
The type of the job dependency.
type - The type of the job dependency.ArrayJobDependencypublic String toString()
toString in class ObjectObject.toString()public JobDependency clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.