@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportJobResponse extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ImportJobResponse() |
Modifier and Type | Method and Description |
---|---|
ImportJobResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique ID of the application to which the import job applies.
|
Integer |
getCompletedPieces()
The number of pieces that have successfully imported as of the time of the request.
|
String |
getCompletionDate()
The date the import job completed in ISO 8601 format.
|
String |
getCreationDate()
The date the import job was created in ISO 8601 format.
|
ImportJobResource |
getDefinition()
The import job settings.
|
Integer |
getFailedPieces()
The number of pieces that have failed to import as of the time of the request.
|
List<String> |
getFailures()
Provides up to 100 of the first failed entries for the job, if any exist.
|
String |
getId()
The unique ID of the import job.
|
String |
getJobStatus()
The status of the import job.
|
Integer |
getTotalFailures()
The number of endpoints that failed to import; for example, because of syntax errors.
|
Integer |
getTotalPieces()
The total number of pieces that must be imported to finish the job.
|
Integer |
getTotalProcessed()
The number of endpoints that were processed by the import job.
|
String |
getType()
The job type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The unique ID of the application to which the import job applies.
|
void |
setCompletedPieces(Integer completedPieces)
The number of pieces that have successfully imported as of the time of the request.
|
void |
setCompletionDate(String completionDate)
The date the import job completed in ISO 8601 format.
|
void |
setCreationDate(String creationDate)
The date the import job was created in ISO 8601 format.
|
void |
setDefinition(ImportJobResource definition)
The import job settings.
|
void |
setFailedPieces(Integer failedPieces)
The number of pieces that have failed to import as of the time of the request.
|
void |
setFailures(Collection<String> failures)
Provides up to 100 of the first failed entries for the job, if any exist.
|
void |
setId(String id)
The unique ID of the import job.
|
void |
setJobStatus(JobStatus jobStatus)
The status of the import job.
|
void |
setJobStatus(String jobStatus)
The status of the import job.
|
void |
setTotalFailures(Integer totalFailures)
The number of endpoints that failed to import; for example, because of syntax errors.
|
void |
setTotalPieces(Integer totalPieces)
The total number of pieces that must be imported to finish the job.
|
void |
setTotalProcessed(Integer totalProcessed)
The number of endpoints that were processed by the import job.
|
void |
setType(String type)
The job type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ImportJobResponse |
withApplicationId(String applicationId)
The unique ID of the application to which the import job applies.
|
ImportJobResponse |
withCompletedPieces(Integer completedPieces)
The number of pieces that have successfully imported as of the time of the request.
|
ImportJobResponse |
withCompletionDate(String completionDate)
The date the import job completed in ISO 8601 format.
|
ImportJobResponse |
withCreationDate(String creationDate)
The date the import job was created in ISO 8601 format.
|
ImportJobResponse |
withDefinition(ImportJobResource definition)
The import job settings.
|
ImportJobResponse |
withFailedPieces(Integer failedPieces)
The number of pieces that have failed to import as of the time of the request.
|
ImportJobResponse |
withFailures(Collection<String> failures)
Provides up to 100 of the first failed entries for the job, if any exist.
|
ImportJobResponse |
withFailures(String... failures)
Provides up to 100 of the first failed entries for the job, if any exist.
|
ImportJobResponse |
withId(String id)
The unique ID of the import job.
|
ImportJobResponse |
withJobStatus(JobStatus jobStatus)
The status of the import job.
|
ImportJobResponse |
withJobStatus(String jobStatus)
The status of the import job.
|
ImportJobResponse |
withTotalFailures(Integer totalFailures)
The number of endpoints that failed to import; for example, because of syntax errors.
|
ImportJobResponse |
withTotalPieces(Integer totalPieces)
The total number of pieces that must be imported to finish the job.
|
ImportJobResponse |
withTotalProcessed(Integer totalProcessed)
The number of endpoints that were processed by the import job.
|
ImportJobResponse |
withType(String type)
The job type.
|
public void setApplicationId(String applicationId)
applicationId
- The unique ID of the application to which the import job applies.public String getApplicationId()
public ImportJobResponse withApplicationId(String applicationId)
applicationId
- The unique ID of the application to which the import job applies.public void setCompletedPieces(Integer completedPieces)
completedPieces
- The number of pieces that have successfully imported as of the time of the request.public Integer getCompletedPieces()
public ImportJobResponse withCompletedPieces(Integer completedPieces)
completedPieces
- The number of pieces that have successfully imported as of the time of the request.public void setCompletionDate(String completionDate)
completionDate
- The date the import job completed in ISO 8601 format.public String getCompletionDate()
public ImportJobResponse withCompletionDate(String completionDate)
completionDate
- The date the import job completed in ISO 8601 format.public void setCreationDate(String creationDate)
creationDate
- The date the import job was created in ISO 8601 format.public String getCreationDate()
public ImportJobResponse withCreationDate(String creationDate)
creationDate
- The date the import job was created in ISO 8601 format.public void setDefinition(ImportJobResource definition)
definition
- The import job settings.public ImportJobResource getDefinition()
public ImportJobResponse withDefinition(ImportJobResource definition)
definition
- The import job settings.public void setFailedPieces(Integer failedPieces)
failedPieces
- The number of pieces that have failed to import as of the time of the request.public Integer getFailedPieces()
public ImportJobResponse withFailedPieces(Integer failedPieces)
failedPieces
- The number of pieces that have failed to import as of the time of the request.public List<String> getFailures()
public void setFailures(Collection<String> failures)
failures
- Provides up to 100 of the first failed entries for the job, if any exist.public ImportJobResponse withFailures(String... failures)
NOTE: This method appends the values to the existing list (if any). Use
setFailures(java.util.Collection)
or withFailures(java.util.Collection)
if you want to override
the existing values.
failures
- Provides up to 100 of the first failed entries for the job, if any exist.public ImportJobResponse withFailures(Collection<String> failures)
failures
- Provides up to 100 of the first failed entries for the job, if any exist.public void setId(String id)
id
- The unique ID of the import job.public String getId()
public ImportJobResponse withId(String id)
id
- The unique ID of the import job.public void setJobStatus(String jobStatus)
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 String getJobStatus()
JobStatus
public ImportJobResponse withJobStatus(String jobStatus)
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)
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)
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 setTotalFailures(Integer totalFailures)
totalFailures
- The number of endpoints that failed to import; for example, because of syntax errors.public Integer getTotalFailures()
public ImportJobResponse withTotalFailures(Integer totalFailures)
totalFailures
- The number of endpoints that failed to import; for example, because of syntax errors.public void setTotalPieces(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 Integer getTotalPieces()
public ImportJobResponse withTotalPieces(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 void setTotalProcessed(Integer totalProcessed)
totalProcessed
- The number of endpoints that were processed by the import job.public Integer getTotalProcessed()
public ImportJobResponse withTotalProcessed(Integer totalProcessed)
totalProcessed
- The number of endpoints that were processed by the import job.public void setType(String type)
type
- The job type. Will be Import.public String getType()
public ImportJobResponse withType(String type)
type
- The job type. Will be Import.public String toString()
toString
in class Object
Object.toString()
public ImportJobResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.