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