@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 |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN for the job.
|
Date |
getCreatedAt()
The date and time that the job was created, in ISO 8601 format.
|
ResponseDetails |
getDetails()
Details about the job.
|
List<JobError> |
getErrors()
The errors associated with jobs.
|
String |
getId()
The unique identifier for the job.
|
String |
getState()
The state of the job.
|
String |
getType()
The job type.
|
Date |
getUpdatedAt()
The date and time that the job was last updated, in ISO 8601 format.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN for the job.
|
void |
setCreatedAt(Date createdAt)
The date and time that the job was created, in ISO 8601 format.
|
void |
setDetails(ResponseDetails details)
Details about the job.
|
void |
setErrors(Collection<JobError> errors)
The errors associated with jobs.
|
void |
setId(String id)
The unique identifier for the job.
|
void |
setState(String state)
The state of the job.
|
void |
setType(String type)
The job type.
|
void |
setUpdatedAt(Date updatedAt)
The date and time that the job was last updated, in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
GetJobResult |
withArn(String arn)
The ARN for the job.
|
GetJobResult |
withCreatedAt(Date createdAt)
The date and time that the job was created, in ISO 8601 format.
|
GetJobResult |
withDetails(ResponseDetails details)
Details about the job.
|
GetJobResult |
withErrors(Collection<JobError> errors)
The errors associated with jobs.
|
GetJobResult |
withErrors(JobError... errors)
The errors associated with jobs.
|
GetJobResult |
withId(String id)
The unique identifier for the job.
|
GetJobResult |
withState(State state)
The state of the job.
|
GetJobResult |
withState(String state)
The state of the job.
|
GetJobResult |
withType(String type)
The job type.
|
GetJobResult |
withType(Type type)
The job type.
|
GetJobResult |
withUpdatedAt(Date updatedAt)
The date and time that the job was last updated, in ISO 8601 format.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The ARN for the job.
arn
- The ARN for the job.public String getArn()
The ARN for the job.
public GetJobResult withArn(String arn)
The ARN for the job.
arn
- The ARN for the job.public void setCreatedAt(Date createdAt)
The date and time that the job was created, in ISO 8601 format.
createdAt
- The date and time that the job was created, in ISO 8601 format.public Date getCreatedAt()
The date and time that the job was created, in ISO 8601 format.
public GetJobResult withCreatedAt(Date createdAt)
The date and time that the job was created, in ISO 8601 format.
createdAt
- The date and time that the job was created, in ISO 8601 format.public void setDetails(ResponseDetails details)
Details about the job.
details
- Details about the job.public ResponseDetails getDetails()
Details about the job.
public GetJobResult withDetails(ResponseDetails details)
Details about the job.
details
- Details about the job.public List<JobError> getErrors()
The errors associated with jobs.
public void setErrors(Collection<JobError> errors)
The errors associated with jobs.
errors
- The errors associated with jobs.public GetJobResult withErrors(JobError... errors)
The errors associated with jobs.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- The errors associated with jobs.public GetJobResult withErrors(Collection<JobError> errors)
The errors associated with jobs.
errors
- The errors associated with jobs.public void setId(String id)
The unique identifier for the job.
id
- The unique identifier for the job.public String getId()
The unique identifier for the job.
public GetJobResult withId(String id)
The unique identifier for the job.
id
- The unique identifier for the job.public void setState(String state)
The state of the job.
state
- The state of the job.State
public String getState()
The state of the job.
State
public GetJobResult withState(String state)
The state of the job.
state
- The state of the job.State
public GetJobResult withState(State state)
The state of the job.
state
- The state of the job.State
public void setType(String type)
The job type.
type
- The job type.Type
public GetJobResult withType(String type)
The job type.
type
- The job type.Type
public GetJobResult withType(Type type)
The job type.
type
- The job type.Type
public void setUpdatedAt(Date updatedAt)
The date and time that the job was last updated, in ISO 8601 format.
updatedAt
- The date and time that the job was last updated, in ISO 8601 format.public Date getUpdatedAt()
The date and time that the job was last updated, in ISO 8601 format.
public GetJobResult withUpdatedAt(Date updatedAt)
The date and time that the job was last updated, in ISO 8601 format.
updatedAt
- The date and time that the job was last updated, in ISO 8601 format.public String toString()
toString
in class Object
Object.toString()
public GetJobResult clone()