public class ExportJobResponse
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ExportJobResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationId()
The unique ID of the application associated with the export job.
|
java.lang.Integer |
getCompletedPieces()
The number of pieces that have successfully completed as of the time of
the request.
|
java.lang.String |
getCompletionDate()
The date the job completed in ISO 8601 format.
|
java.lang.String |
getCreationDate()
The date the job was created in ISO 8601 format.
|
ExportJobResource |
getDefinition()
The export job settings.
|
java.lang.Integer |
getFailedPieces()
The number of pieces that failed to be processed as of the time of the
request.
|
java.util.List<java.lang.String> |
getFailures()
Provides up to 100 of the first failed entries for the job, if any exist.
|
java.lang.String |
getId()
The unique ID of the job.
|
java.lang.String |
getJobStatus()
The status of the job.
|
java.lang.Integer |
getTotalFailures()
The number of endpoints that were not processed; for example, because of
syntax errors.
|
java.lang.Integer |
getTotalPieces()
The total number of pieces that must be processed to finish the job.
|
java.lang.Integer |
getTotalProcessed()
The number of endpoints that were processed by the job.
|
java.lang.String |
getType()
The job type.
|
int |
hashCode() |
void |
setApplicationId(java.lang.String applicationId)
The unique ID of the application associated with the export job.
|
void |
setCompletedPieces(java.lang.Integer completedPieces)
The number of pieces that have successfully completed as of the time of
the request.
|
void |
setCompletionDate(java.lang.String completionDate)
The date the job completed in ISO 8601 format.
|
void |
setCreationDate(java.lang.String creationDate)
The date the job was created in ISO 8601 format.
|
void |
setDefinition(ExportJobResource definition)
The export job settings.
|
void |
setFailedPieces(java.lang.Integer failedPieces)
The number of pieces that failed to be processed as of the time of the
request.
|
void |
setFailures(java.util.Collection<java.lang.String> failures)
Provides up to 100 of the first failed entries for the job, if any exist.
|
void |
setId(java.lang.String id)
The unique ID of the job.
|
void |
setJobStatus(JobStatus jobStatus)
The status of the job.
|
void |
setJobStatus(java.lang.String jobStatus)
The status of the job.
|
void |
setTotalFailures(java.lang.Integer totalFailures)
The number of endpoints that were not processed; for example, because of
syntax errors.
|
void |
setTotalPieces(java.lang.Integer totalPieces)
The total number of pieces that must be processed to finish the job.
|
void |
setTotalProcessed(java.lang.Integer totalProcessed)
The number of endpoints that were processed by the job.
|
void |
setType(java.lang.String type)
The job type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExportJobResponse |
withApplicationId(java.lang.String applicationId)
The unique ID of the application associated with the export job.
|
ExportJobResponse |
withCompletedPieces(java.lang.Integer completedPieces)
The number of pieces that have successfully completed as of the time of
the request.
|
ExportJobResponse |
withCompletionDate(java.lang.String completionDate)
The date the job completed in ISO 8601 format.
|
ExportJobResponse |
withCreationDate(java.lang.String creationDate)
The date the job was created in ISO 8601 format.
|
ExportJobResponse |
withDefinition(ExportJobResource definition)
The export job settings.
|
ExportJobResponse |
withFailedPieces(java.lang.Integer failedPieces)
The number of pieces that failed to be processed as of the time of the
request.
|
ExportJobResponse |
withFailures(java.util.Collection<java.lang.String> failures)
Provides up to 100 of the first failed entries for the job, if any exist.
|
ExportJobResponse |
withFailures(java.lang.String... failures)
Provides up to 100 of the first failed entries for the job, if any exist.
|
ExportJobResponse |
withId(java.lang.String id)
The unique ID of the job.
|
ExportJobResponse |
withJobStatus(JobStatus jobStatus)
The status of the job.
|
ExportJobResponse |
withJobStatus(java.lang.String jobStatus)
The status of the job.
|
ExportJobResponse |
withTotalFailures(java.lang.Integer totalFailures)
The number of endpoints that were not processed; for example, because of
syntax errors.
|
ExportJobResponse |
withTotalPieces(java.lang.Integer totalPieces)
The total number of pieces that must be processed to finish the job.
|
ExportJobResponse |
withTotalProcessed(java.lang.Integer totalProcessed)
The number of endpoints that were processed by the job.
|
ExportJobResponse |
withType(java.lang.String type)
The job type.
|
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
applicationId
- The unique ID of the application associated with the
export job.public ExportJobResponse withApplicationId(java.lang.String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId
- The unique ID of the application associated with the
export job.public java.lang.Integer getCompletedPieces()
public void setCompletedPieces(java.lang.Integer completedPieces)
completedPieces
- The number of pieces that have successfully
completed as of the time of the request.public ExportJobResponse withCompletedPieces(java.lang.Integer completedPieces)
Returns a reference to this object so that method calls can be chained together.
completedPieces
- The number of pieces that have successfully
completed as of the time of the request.public java.lang.String getCompletionDate()
public void setCompletionDate(java.lang.String completionDate)
completionDate
- The date the job completed in ISO 8601 format.public ExportJobResponse withCompletionDate(java.lang.String completionDate)
Returns a reference to this object so that method calls can be chained together.
completionDate
- The date the job completed in ISO 8601 format.public java.lang.String getCreationDate()
public void setCreationDate(java.lang.String creationDate)
creationDate
- The date the job was created in ISO 8601 format.public ExportJobResponse withCreationDate(java.lang.String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate
- The date the job was created in ISO 8601 format.public ExportJobResource getDefinition()
public void setDefinition(ExportJobResource definition)
definition
- The export job settings.public ExportJobResponse withDefinition(ExportJobResource definition)
Returns a reference to this object so that method calls can be chained together.
definition
- The export job settings.public java.lang.Integer getFailedPieces()
public void setFailedPieces(java.lang.Integer failedPieces)
failedPieces
- The number of pieces that failed to be processed as
of the time of the request.public ExportJobResponse withFailedPieces(java.lang.Integer failedPieces)
Returns a reference to this object so that method calls can be chained together.
failedPieces
- The number of pieces that failed to be processed as
of the time of the request.public java.util.List<java.lang.String> getFailures()
public void setFailures(java.util.Collection<java.lang.String> failures)
failures
- Provides up to 100 of the first failed entries for the
job, if any exist.public ExportJobResponse withFailures(java.lang.String... failures)
Returns a reference to this object so that method calls can be chained together.
failures
- Provides up to 100 of the first failed entries for the
job, if any exist.public ExportJobResponse withFailures(java.util.Collection<java.lang.String> failures)
Returns a reference to this object so that method calls can be chained together.
failures
- Provides up to 100 of the first failed entries for the
job, if any exist.public java.lang.String getId()
public void setId(java.lang.String id)
id
- The unique ID of the job.public ExportJobResponse withId(java.lang.String id)
Returns a reference to this object so that method calls can be chained together.
id
- The unique ID of the job.public java.lang.String getJobStatus()
Constraints:
Allowed Values: CREATED, INITIALIZING, PROCESSING, COMPLETING,
COMPLETED, FAILING, FAILED
JobStatus
public void setJobStatus(java.lang.String jobStatus)
Constraints:
Allowed Values: CREATED, INITIALIZING, PROCESSING, COMPLETING,
COMPLETED, FAILING, FAILED
jobStatus
- The status of the job. Valid values: CREATED,
INITIALIZING, PROCESSING, COMPLETING, COMPLETED, FAILING,
FAILED The job status is FAILED if one or more pieces failed.JobStatus
public ExportJobResponse withJobStatus(java.lang.String jobStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATED, INITIALIZING, PROCESSING, COMPLETING,
COMPLETED, FAILING, FAILED
jobStatus
- The status of the job. Valid values: CREATED,
INITIALIZING, PROCESSING, COMPLETING, COMPLETED, FAILING,
FAILED The job status is FAILED if one or more pieces failed.JobStatus
public void setJobStatus(JobStatus jobStatus)
Constraints:
Allowed Values: CREATED, INITIALIZING, PROCESSING, COMPLETING,
COMPLETED, FAILING, FAILED
jobStatus
- The status of the job. Valid values: CREATED,
INITIALIZING, PROCESSING, COMPLETING, COMPLETED, FAILING,
FAILED The job status is FAILED if one or more pieces failed.JobStatus
public ExportJobResponse withJobStatus(JobStatus jobStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATED, INITIALIZING, PROCESSING, COMPLETING,
COMPLETED, FAILING, FAILED
jobStatus
- The status of the job. Valid values: CREATED,
INITIALIZING, PROCESSING, COMPLETING, COMPLETED, FAILING,
FAILED The job status is FAILED if one or more pieces failed.JobStatus
public java.lang.Integer getTotalFailures()
public void setTotalFailures(java.lang.Integer totalFailures)
totalFailures
- The number of endpoints that were not processed; for
example, because of syntax errors.public ExportJobResponse withTotalFailures(java.lang.Integer totalFailures)
Returns a reference to this object so that method calls can be chained together.
totalFailures
- The number of endpoints that were not processed; for
example, because of syntax errors.public java.lang.Integer getTotalPieces()
public void setTotalPieces(java.lang.Integer totalPieces)
totalPieces
- The total number of pieces that must be processed to
finish the job. Each piece is an approximately equal portion
of the endpoints.public ExportJobResponse withTotalPieces(java.lang.Integer totalPieces)
Returns a reference to this object so that method calls can be chained together.
totalPieces
- The total number of pieces that must be processed to
finish the job. Each piece is an approximately equal portion
of the endpoints.public java.lang.Integer getTotalProcessed()
public void setTotalProcessed(java.lang.Integer totalProcessed)
totalProcessed
- The number of endpoints that were processed by the
job.public ExportJobResponse withTotalProcessed(java.lang.Integer totalProcessed)
Returns a reference to this object so that method calls can be chained together.
totalProcessed
- The number of endpoints that were processed by the
job.public java.lang.String getType()
public void setType(java.lang.String type)
type
- The job type. Will be 'EXPORT'.public ExportJobResponse withType(java.lang.String type)
Returns a reference to this object so that method calls can be chained together.
type
- The job type. Will be 'EXPORT'.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.