@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobEntry extends Object implements Serializable, Cloneable, StructuredPojo
AWS Data Exchange Jobs are asynchronous import or export operations used to create or copy assets. A data set owner can both import and export as they see fit. Someone with an entitlement to a data set can only export. Jobs are deleted 90 days after they are created.
Constructor and Description |
---|
JobEntry() |
Modifier and Type | Method and Description |
---|---|
JobEntry |
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 of the operation to be performed by the job, such as export destination details or import source details.
|
List<JobError> |
getErrors()
Errors for 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 of the operation to be performed by the job, such as export destination details or import source details.
|
void |
setErrors(Collection<JobError> errors)
Errors for 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.
|
JobEntry |
withArn(String arn)
The ARN for the job.
|
JobEntry |
withCreatedAt(Date createdAt)
The date and time that the job was created, in ISO 8601 format.
|
JobEntry |
withDetails(ResponseDetails details)
Details of the operation to be performed by the job, such as export destination details or import source details.
|
JobEntry |
withErrors(Collection<JobError> errors)
Errors for jobs.
|
JobEntry |
withErrors(JobError... errors)
Errors for jobs.
|
JobEntry |
withId(String id)
The unique identifier for the job.
|
JobEntry |
withState(State state)
The state of the job.
|
JobEntry |
withState(String state)
The state of the job.
|
JobEntry |
withType(String type)
The job type.
|
JobEntry |
withType(Type type)
The job type.
|
JobEntry |
withUpdatedAt(Date updatedAt)
The date and time that the job was last updated, in ISO 8601 format.
|
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 JobEntry 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 JobEntry 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 of the operation to be performed by the job, such as export destination details or import source details.
details
- Details of the operation to be performed by the job, such as export destination details or import source
details.public ResponseDetails getDetails()
Details of the operation to be performed by the job, such as export destination details or import source details.
public JobEntry withDetails(ResponseDetails details)
Details of the operation to be performed by the job, such as export destination details or import source details.
details
- Details of the operation to be performed by the job, such as export destination details or import source
details.public void setErrors(Collection<JobError> errors)
Errors for jobs.
errors
- Errors for jobs.public JobEntry withErrors(JobError... errors)
Errors for 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
- Errors for jobs.public JobEntry withErrors(Collection<JobError> errors)
Errors for jobs.
errors
- Errors for 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 JobEntry 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 JobEntry withState(String state)
The state of the job.
state
- The state of the job.State
public JobEntry 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 JobEntry withType(String type)
The job type.
type
- The job type.Type
public JobEntry 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 JobEntry 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.