@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetJobResult() |
Modifier and Type | Method and Description |
---|---|
GetJobResult |
addParametersEntry(String key,
JobParameter value)
Add a single Parameters entry
|
GetJobResult |
addTaskRunStatusCountsEntry(String key,
Integer value)
Add a single TaskRunStatusCounts entry
|
GetJobResult |
clearParametersEntries()
Removes all the entries added into Parameters.
|
GetJobResult |
clearTaskRunStatusCountsEntries()
Removes all the entries added into TaskRunStatusCounts.
|
GetJobResult |
clone() |
boolean |
equals(Object obj) |
Attachments |
getAttachments()
The attachments for the job.
|
Date |
getCreatedAt()
The date and time the resource was created.
|
String |
getCreatedBy()
The user or system that created this resource.
|
String |
getDescription()
The description of the job.
|
Date |
getEndedAt()
The date and time the resource ended running.
|
String |
getJobId()
The job ID.
|
String |
getLifecycleStatus()
The life cycle status for the job.
|
String |
getLifecycleStatusMessage()
A message that communicates the status of the life cycle for the job.
|
Integer |
getMaxFailedTasksCount()
The number of task failures before the job stops running and is marked as
FAILED . |
Integer |
getMaxRetriesPerTask()
The maximum number of retries per failed tasks.
|
String |
getName()
The name of the job.
|
Map<String,JobParameter> |
getParameters()
The parameters for the job.
|
Integer |
getPriority()
The job priority.
|
Date |
getStartedAt()
The date and time the resource started running.
|
String |
getStorageProfileId()
The storage profile ID associated with the job.
|
String |
getTargetTaskRunStatus()
The task status with which the job started.
|
String |
getTaskRunStatus()
The task run status for the job.
|
Map<String,Integer> |
getTaskRunStatusCounts()
The number of tasks running on the job.
|
Date |
getUpdatedAt()
The date and time the resource was updated.
|
String |
getUpdatedBy()
The user or system that updated this resource.
|
int |
hashCode() |
void |
setAttachments(Attachments attachments)
The attachments for the job.
|
void |
setCreatedAt(Date createdAt)
The date and time the resource was created.
|
void |
setCreatedBy(String createdBy)
The user or system that created this resource.
|
void |
setDescription(String description)
The description of the job.
|
void |
setEndedAt(Date endedAt)
The date and time the resource ended running.
|
void |
setJobId(String jobId)
The job ID.
|
void |
setLifecycleStatus(String lifecycleStatus)
The life cycle status for the job.
|
void |
setLifecycleStatusMessage(String lifecycleStatusMessage)
A message that communicates the status of the life cycle for the job.
|
void |
setMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as
FAILED . |
void |
setMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries per failed tasks.
|
void |
setName(String name)
The name of the job.
|
void |
setParameters(Map<String,JobParameter> parameters)
The parameters for the job.
|
void |
setPriority(Integer priority)
The job priority.
|
void |
setStartedAt(Date startedAt)
The date and time the resource started running.
|
void |
setStorageProfileId(String storageProfileId)
The storage profile ID associated with the job.
|
void |
setTargetTaskRunStatus(String targetTaskRunStatus)
The task status with which the job started.
|
void |
setTaskRunStatus(String taskRunStatus)
The task run status for the job.
|
void |
setTaskRunStatusCounts(Map<String,Integer> taskRunStatusCounts)
The number of tasks running on the job.
|
void |
setUpdatedAt(Date updatedAt)
The date and time the resource was updated.
|
void |
setUpdatedBy(String updatedBy)
The user or system that updated this resource.
|
String |
toString()
Returns a string representation of this object.
|
GetJobResult |
withAttachments(Attachments attachments)
The attachments for the job.
|
GetJobResult |
withCreatedAt(Date createdAt)
The date and time the resource was created.
|
GetJobResult |
withCreatedBy(String createdBy)
The user or system that created this resource.
|
GetJobResult |
withDescription(String description)
The description of the job.
|
GetJobResult |
withEndedAt(Date endedAt)
The date and time the resource ended running.
|
GetJobResult |
withJobId(String jobId)
The job ID.
|
GetJobResult |
withLifecycleStatus(JobLifecycleStatus lifecycleStatus)
The life cycle status for the job.
|
GetJobResult |
withLifecycleStatus(String lifecycleStatus)
The life cycle status for the job.
|
GetJobResult |
withLifecycleStatusMessage(String lifecycleStatusMessage)
A message that communicates the status of the life cycle for the job.
|
GetJobResult |
withMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as
FAILED . |
GetJobResult |
withMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries per failed tasks.
|
GetJobResult |
withName(String name)
The name of the job.
|
GetJobResult |
withParameters(Map<String,JobParameter> parameters)
The parameters for the job.
|
GetJobResult |
withPriority(Integer priority)
The job priority.
|
GetJobResult |
withStartedAt(Date startedAt)
The date and time the resource started running.
|
GetJobResult |
withStorageProfileId(String storageProfileId)
The storage profile ID associated with the job.
|
GetJobResult |
withTargetTaskRunStatus(JobTargetTaskRunStatus targetTaskRunStatus)
The task status with which the job started.
|
GetJobResult |
withTargetTaskRunStatus(String targetTaskRunStatus)
The task status with which the job started.
|
GetJobResult |
withTaskRunStatus(String taskRunStatus)
The task run status for the job.
|
GetJobResult |
withTaskRunStatus(TaskRunStatus taskRunStatus)
The task run status for the job.
|
GetJobResult |
withTaskRunStatusCounts(Map<String,Integer> taskRunStatusCounts)
The number of tasks running on the job.
|
GetJobResult |
withUpdatedAt(Date updatedAt)
The date and time the resource was updated.
|
GetJobResult |
withUpdatedBy(String updatedBy)
The user or system that updated this resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAttachments(Attachments attachments)
The attachments for the job.
attachments
- The attachments for the job.public Attachments getAttachments()
The attachments for the job.
public GetJobResult withAttachments(Attachments attachments)
The attachments for the job.
attachments
- The attachments for the job.public void setCreatedAt(Date createdAt)
The date and time the resource was created.
createdAt
- The date and time the resource was created.public Date getCreatedAt()
The date and time the resource was created.
public GetJobResult withCreatedAt(Date createdAt)
The date and time the resource was created.
createdAt
- The date and time the resource was created.public void setCreatedBy(String createdBy)
The user or system that created this resource.
createdBy
- The user or system that created this resource.public String getCreatedBy()
The user or system that created this resource.
public GetJobResult withCreatedBy(String createdBy)
The user or system that created this resource.
createdBy
- The user or system that created this resource.public void setDescription(String description)
The description of the job.
description
- The description of the job.public String getDescription()
The description of the job.
public GetJobResult withDescription(String description)
The description of the job.
description
- The description of the job.public void setEndedAt(Date endedAt)
The date and time the resource ended running.
endedAt
- The date and time the resource ended running.public Date getEndedAt()
The date and time the resource ended running.
public GetJobResult withEndedAt(Date endedAt)
The date and time the resource ended running.
endedAt
- The date and time the resource ended running.public void setJobId(String jobId)
The job ID.
jobId
- The job ID.public String getJobId()
The job ID.
public GetJobResult withJobId(String jobId)
The job ID.
jobId
- The job ID.public void setLifecycleStatus(String lifecycleStatus)
The life cycle status for the job.
lifecycleStatus
- The life cycle status for the job.JobLifecycleStatus
public String getLifecycleStatus()
The life cycle status for the job.
JobLifecycleStatus
public GetJobResult withLifecycleStatus(String lifecycleStatus)
The life cycle status for the job.
lifecycleStatus
- The life cycle status for the job.JobLifecycleStatus
public GetJobResult withLifecycleStatus(JobLifecycleStatus lifecycleStatus)
The life cycle status for the job.
lifecycleStatus
- The life cycle status for the job.JobLifecycleStatus
public void setLifecycleStatusMessage(String lifecycleStatusMessage)
A message that communicates the status of the life cycle for the job.
lifecycleStatusMessage
- A message that communicates the status of the life cycle for the job.public String getLifecycleStatusMessage()
A message that communicates the status of the life cycle for the job.
public GetJobResult withLifecycleStatusMessage(String lifecycleStatusMessage)
A message that communicates the status of the life cycle for the job.
lifecycleStatusMessage
- A message that communicates the status of the life cycle for the job.public void setMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as FAILED
.
maxFailedTasksCount
- The number of task failures before the job stops running and is marked as FAILED
.public Integer getMaxFailedTasksCount()
The number of task failures before the job stops running and is marked as FAILED
.
FAILED
.public GetJobResult withMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as FAILED
.
maxFailedTasksCount
- The number of task failures before the job stops running and is marked as FAILED
.public void setMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries per failed tasks.
maxRetriesPerTask
- The maximum number of retries per failed tasks.public Integer getMaxRetriesPerTask()
The maximum number of retries per failed tasks.
public GetJobResult withMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries per failed tasks.
maxRetriesPerTask
- The maximum number of retries per failed tasks.public void setName(String name)
The name of the job.
name
- The name of the job.public String getName()
The name of the job.
public GetJobResult withName(String name)
The name of the job.
name
- The name of the job.public Map<String,JobParameter> getParameters()
The parameters for the job.
public void setParameters(Map<String,JobParameter> parameters)
The parameters for the job.
parameters
- The parameters for the job.public GetJobResult withParameters(Map<String,JobParameter> parameters)
The parameters for the job.
parameters
- The parameters for the job.public GetJobResult addParametersEntry(String key, JobParameter value)
public GetJobResult clearParametersEntries()
public void setPriority(Integer priority)
The job priority.
priority
- The job priority.public Integer getPriority()
The job priority.
public GetJobResult withPriority(Integer priority)
The job priority.
priority
- The job priority.public void setStartedAt(Date startedAt)
The date and time the resource started running.
startedAt
- The date and time the resource started running.public Date getStartedAt()
The date and time the resource started running.
public GetJobResult withStartedAt(Date startedAt)
The date and time the resource started running.
startedAt
- The date and time the resource started running.public void setStorageProfileId(String storageProfileId)
The storage profile ID associated with the job.
storageProfileId
- The storage profile ID associated with the job.public String getStorageProfileId()
The storage profile ID associated with the job.
public GetJobResult withStorageProfileId(String storageProfileId)
The storage profile ID associated with the job.
storageProfileId
- The storage profile ID associated with the job.public void setTargetTaskRunStatus(String targetTaskRunStatus)
The task status with which the job started.
targetTaskRunStatus
- The task status with which the job started.JobTargetTaskRunStatus
public String getTargetTaskRunStatus()
The task status with which the job started.
JobTargetTaskRunStatus
public GetJobResult withTargetTaskRunStatus(String targetTaskRunStatus)
The task status with which the job started.
targetTaskRunStatus
- The task status with which the job started.JobTargetTaskRunStatus
public GetJobResult withTargetTaskRunStatus(JobTargetTaskRunStatus targetTaskRunStatus)
The task status with which the job started.
targetTaskRunStatus
- The task status with which the job started.JobTargetTaskRunStatus
public void setTaskRunStatus(String taskRunStatus)
The task run status for the job.
taskRunStatus
- The task run status for the job.TaskRunStatus
public String getTaskRunStatus()
The task run status for the job.
TaskRunStatus
public GetJobResult withTaskRunStatus(String taskRunStatus)
The task run status for the job.
taskRunStatus
- The task run status for the job.TaskRunStatus
public GetJobResult withTaskRunStatus(TaskRunStatus taskRunStatus)
The task run status for the job.
taskRunStatus
- The task run status for the job.TaskRunStatus
public Map<String,Integer> getTaskRunStatusCounts()
The number of tasks running on the job.
public void setTaskRunStatusCounts(Map<String,Integer> taskRunStatusCounts)
The number of tasks running on the job.
taskRunStatusCounts
- The number of tasks running on the job.public GetJobResult withTaskRunStatusCounts(Map<String,Integer> taskRunStatusCounts)
The number of tasks running on the job.
taskRunStatusCounts
- The number of tasks running on the job.public GetJobResult addTaskRunStatusCountsEntry(String key, Integer value)
public GetJobResult clearTaskRunStatusCountsEntries()
public void setUpdatedAt(Date updatedAt)
The date and time the resource was updated.
updatedAt
- The date and time the resource was updated.public Date getUpdatedAt()
The date and time the resource was updated.
public GetJobResult withUpdatedAt(Date updatedAt)
The date and time the resource was updated.
updatedAt
- The date and time the resource was updated.public void setUpdatedBy(String updatedBy)
The user or system that updated this resource.
updatedBy
- The user or system that updated this resource.public String getUpdatedBy()
The user or system that updated this resource.
public GetJobResult withUpdatedBy(String updatedBy)
The user or system that updated this resource.
updatedBy
- The user or system that updated this resource.public String toString()
toString
in class Object
Object.toString()
public GetJobResult clone()