@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.ArrayJobDependency
public String getType()
The type of the job dependency.
ArrayJobDependency
public JobDependency withType(String type)
The type of the job dependency.
type
- The type of the job dependency.ArrayJobDependency
public JobDependency withType(ArrayJobDependency type)
The type of the job dependency.
type
- The type of the job dependency.ArrayJobDependency
public String toString()
toString
in class Object
Object.toString()
public JobDependency clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.