@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the policy generation request.
Constructor and Description |
---|
JobDetails() |
Modifier and Type | Method and Description |
---|---|
JobDetails |
clone() |
boolean |
equals(Object obj) |
Date |
getCompletedOn()
A timestamp of when the job was completed.
|
JobError |
getJobError()
The job error for the policy generation request.
|
String |
getJobId()
The
JobId that is returned by the StartPolicyGeneration operation. |
Date |
getStartedOn()
A timestamp of when the job was started.
|
String |
getStatus()
The status of the job request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompletedOn(Date completedOn)
A timestamp of when the job was completed.
|
void |
setJobError(JobError jobError)
The job error for the policy generation request.
|
void |
setJobId(String jobId)
The
JobId that is returned by the StartPolicyGeneration operation. |
void |
setStartedOn(Date startedOn)
A timestamp of when the job was started.
|
void |
setStatus(String status)
The status of the job request.
|
String |
toString()
Returns a string representation of this object.
|
JobDetails |
withCompletedOn(Date completedOn)
A timestamp of when the job was completed.
|
JobDetails |
withJobError(JobError jobError)
The job error for the policy generation request.
|
JobDetails |
withJobId(String jobId)
The
JobId that is returned by the StartPolicyGeneration operation. |
JobDetails |
withStartedOn(Date startedOn)
A timestamp of when the job was started.
|
JobDetails |
withStatus(JobStatus status)
The status of the job request.
|
JobDetails |
withStatus(String status)
The status of the job request.
|
public void setJobId(String jobId)
The JobId
that is returned by the StartPolicyGeneration
operation. The
JobId
can be used with GetGeneratedPolicy
to retrieve the generated policies or used
with CancelPolicyGeneration
to cancel the policy generation request.
jobId
- The JobId
that is returned by the StartPolicyGeneration
operation. The
JobId
can be used with GetGeneratedPolicy
to retrieve the generated policies or
used with CancelPolicyGeneration
to cancel the policy generation request.public String getJobId()
The JobId
that is returned by the StartPolicyGeneration
operation. The
JobId
can be used with GetGeneratedPolicy
to retrieve the generated policies or used
with CancelPolicyGeneration
to cancel the policy generation request.
JobId
that is returned by the StartPolicyGeneration
operation. The
JobId
can be used with GetGeneratedPolicy
to retrieve the generated policies or
used with CancelPolicyGeneration
to cancel the policy generation request.public JobDetails withJobId(String jobId)
The JobId
that is returned by the StartPolicyGeneration
operation. The
JobId
can be used with GetGeneratedPolicy
to retrieve the generated policies or used
with CancelPolicyGeneration
to cancel the policy generation request.
jobId
- The JobId
that is returned by the StartPolicyGeneration
operation. The
JobId
can be used with GetGeneratedPolicy
to retrieve the generated policies or
used with CancelPolicyGeneration
to cancel the policy generation request.public void setStatus(String status)
The status of the job request.
status
- The status of the job request.JobStatus
public String getStatus()
The status of the job request.
JobStatus
public JobDetails withStatus(String status)
The status of the job request.
status
- The status of the job request.JobStatus
public JobDetails withStatus(JobStatus status)
The status of the job request.
status
- The status of the job request.JobStatus
public void setStartedOn(Date startedOn)
A timestamp of when the job was started.
startedOn
- A timestamp of when the job was started.public Date getStartedOn()
A timestamp of when the job was started.
public JobDetails withStartedOn(Date startedOn)
A timestamp of when the job was started.
startedOn
- A timestamp of when the job was started.public void setCompletedOn(Date completedOn)
A timestamp of when the job was completed.
completedOn
- A timestamp of when the job was completed.public Date getCompletedOn()
A timestamp of when the job was completed.
public JobDetails withCompletedOn(Date completedOn)
A timestamp of when the job was completed.
completedOn
- A timestamp of when the job was completed.public void setJobError(JobError jobError)
The job error for the policy generation request.
jobError
- The job error for the policy generation request.public JobError getJobError()
The job error for the policy generation request.
public JobDetails withJobError(JobError jobError)
The job error for the policy generation request.
jobError
- The job error for the policy generation request.public String toString()
toString
in class Object
Object.toString()
public JobDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.