@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportJobResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the status and settings of a job that imports endpoint definitions from one or more files. The files can be stored in an Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from a computer by using the Amazon Pinpoint console.
Constructor and Description |
---|
ImportJobResponse() |
Modifier and Type | Method and Description |
---|---|
ImportJobResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique identifier for the application that's associated with the import job.
|
Integer |
getCompletedPieces()
The number of pieces that were processed successfully (completed) by the import job, as of the time of the
request.
|
String |
getCompletionDate()
The date, in ISO 8601 format, when the import job was completed.
|
String |
getCreationDate()
The date, in ISO 8601 format, when the import job was created.
|
ImportJobResource |
getDefinition()
The resource settings that apply to the import job.
|
Integer |
getFailedPieces()
The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the
request.
|
List<String> |
getFailures()
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the
import job, if any.
|
String |
getId()
The unique identifier for the import job.
|
String |
getJobStatus()
The status of the import job.
|
Integer |
getTotalFailures()
The total number of endpoint definitions that weren't processed successfully (failed) by the import job,
typically because an error, such as a syntax error, occurred.
|
Integer |
getTotalPieces()
The total number of pieces that must be processed to complete the import job.
|
Integer |
getTotalProcessed()
The total number of endpoint definitions 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 identifier for the application that's associated with the import job.
|
void |
setCompletedPieces(Integer completedPieces)
The number of pieces that were processed successfully (completed) by the import job, as of the time of the
request.
|
void |
setCompletionDate(String completionDate)
The date, in ISO 8601 format, when the import job was completed.
|
void |
setCreationDate(String creationDate)
The date, in ISO 8601 format, when the import job was created.
|
void |
setDefinition(ImportJobResource definition)
The resource settings that apply to the import job.
|
void |
setFailedPieces(Integer failedPieces)
The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the
request.
|
void |
setFailures(Collection<String> failures)
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the
import job, if any.
|
void |
setId(String id)
The unique identifier for 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 total number of endpoint definitions that weren't processed successfully (failed) by the import job,
typically because an error, such as a syntax error, occurred.
|
void |
setTotalPieces(Integer totalPieces)
The total number of pieces that must be processed to complete the import job.
|
void |
setTotalProcessed(Integer totalProcessed)
The total number of endpoint definitions that were processed by the import job.
|
void |
setType(String type)
The job type.
|
String |
toString()
Returns a string representation of this object.
|
ImportJobResponse |
withApplicationId(String applicationId)
The unique identifier for the application that's associated with the import job.
|
ImportJobResponse |
withCompletedPieces(Integer completedPieces)
The number of pieces that were processed successfully (completed) by the import job, as of the time of the
request.
|
ImportJobResponse |
withCompletionDate(String completionDate)
The date, in ISO 8601 format, when the import job was completed.
|
ImportJobResponse |
withCreationDate(String creationDate)
The date, in ISO 8601 format, when the import job was created.
|
ImportJobResponse |
withDefinition(ImportJobResource definition)
The resource settings that apply to the import job.
|
ImportJobResponse |
withFailedPieces(Integer failedPieces)
The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the
request.
|
ImportJobResponse |
withFailures(Collection<String> failures)
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the
import job, if any.
|
ImportJobResponse |
withFailures(String... failures)
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the
import job, if any.
|
ImportJobResponse |
withId(String id)
The unique identifier for 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 total number of endpoint definitions that weren't processed successfully (failed) by the import job,
typically because an error, such as a syntax error, occurred.
|
ImportJobResponse |
withTotalPieces(Integer totalPieces)
The total number of pieces that must be processed to complete the import job.
|
ImportJobResponse |
withTotalProcessed(Integer totalProcessed)
The total number of endpoint definitions that were processed by the import job.
|
ImportJobResponse |
withType(String type)
The job type.
|
public void setApplicationId(String applicationId)
The unique identifier for the application that's associated with the import job.
applicationId
- The unique identifier for the application that's associated with the import job.public String getApplicationId()
The unique identifier for the application that's associated with the import job.
public ImportJobResponse withApplicationId(String applicationId)
The unique identifier for the application that's associated with the import job.
applicationId
- The unique identifier for the application that's associated with the import job.public void setCompletedPieces(Integer completedPieces)
The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.
completedPieces
- The number of pieces that were processed successfully (completed) by the import job, as of the time of the
request.public Integer getCompletedPieces()
The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.
public ImportJobResponse withCompletedPieces(Integer completedPieces)
The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.
completedPieces
- The number of pieces that were processed successfully (completed) by the import job, as of the time of the
request.public void setCompletionDate(String completionDate)
The date, in ISO 8601 format, when the import job was completed.
completionDate
- The date, in ISO 8601 format, when the import job was completed.public String getCompletionDate()
The date, in ISO 8601 format, when the import job was completed.
public ImportJobResponse withCompletionDate(String completionDate)
The date, in ISO 8601 format, when the import job was completed.
completionDate
- The date, in ISO 8601 format, when the import job was completed.public void setCreationDate(String creationDate)
The date, in ISO 8601 format, when the import job was created.
creationDate
- The date, in ISO 8601 format, when the import job was created.public String getCreationDate()
The date, in ISO 8601 format, when the import job was created.
public ImportJobResponse withCreationDate(String creationDate)
The date, in ISO 8601 format, when the import job was created.
creationDate
- The date, in ISO 8601 format, when the import job was created.public void setDefinition(ImportJobResource definition)
The resource settings that apply to the import job.
definition
- The resource settings that apply to the import job.public ImportJobResource getDefinition()
The resource settings that apply to the import job.
public ImportJobResponse withDefinition(ImportJobResource definition)
The resource settings that apply to the import job.
definition
- The resource settings that apply to the import job.public void setFailedPieces(Integer failedPieces)
The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.
failedPieces
- The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the
request.public Integer getFailedPieces()
The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.
public ImportJobResponse withFailedPieces(Integer failedPieces)
The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.
failedPieces
- The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the
request.public List<String> getFailures()
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.
public void setFailures(Collection<String> failures)
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.
failures
- An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by
the import job, if any.public ImportJobResponse withFailures(String... failures)
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.
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
- An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by
the import job, if any.public ImportJobResponse withFailures(Collection<String> failures)
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.
failures
- An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by
the import job, if any.public void setId(String id)
The unique identifier for the import job.
id
- The unique identifier for the import job.public String getId()
The unique identifier for the import job.
public ImportJobResponse withId(String id)
The unique identifier for the import job.
id
- The unique identifier for the import job.public void setJobStatus(String jobStatus)
The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
jobStatus
- The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or
more pieces in the job.JobStatus
public String getJobStatus()
The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
JobStatus
public ImportJobResponse withJobStatus(String jobStatus)
The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
jobStatus
- The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or
more pieces in the job.JobStatus
public void setJobStatus(JobStatus jobStatus)
The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
jobStatus
- The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or
more pieces in the job.JobStatus
public ImportJobResponse withJobStatus(JobStatus jobStatus)
The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
jobStatus
- The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or
more pieces in the job.JobStatus
public void setTotalFailures(Integer totalFailures)
The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.
totalFailures
- The total number of endpoint definitions that weren't processed successfully (failed) by the import job,
typically because an error, such as a syntax error, occurred.public Integer getTotalFailures()
The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.
public ImportJobResponse withTotalFailures(Integer totalFailures)
The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.
totalFailures
- The total number of endpoint definitions that weren't processed successfully (failed) by the import job,
typically because an error, such as a syntax error, occurred.public void setTotalPieces(Integer totalPieces)
The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.
totalPieces
- The total number of pieces that must be processed to complete the import job. Each piece consists of an
approximately equal portion of the endpoint definitions that are part of the import job.public Integer getTotalPieces()
The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.
public ImportJobResponse withTotalPieces(Integer totalPieces)
The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.
totalPieces
- The total number of pieces that must be processed to complete the import job. Each piece consists of an
approximately equal portion of the endpoint definitions that are part of the import job.public void setTotalProcessed(Integer totalProcessed)
The total number of endpoint definitions that were processed by the import job.
totalProcessed
- The total number of endpoint definitions that were processed by the import job.public Integer getTotalProcessed()
The total number of endpoint definitions that were processed by the import job.
public ImportJobResponse withTotalProcessed(Integer totalProcessed)
The total number of endpoint definitions that were processed by the import job.
totalProcessed
- The total number of endpoint definitions that were processed by the import job.public void setType(String type)
The job type. This value is IMPORT for import jobs.
type
- The job type. This value is IMPORT for import jobs.public String getType()
The job type. This value is IMPORT for import jobs.
public ImportJobResponse withType(String type)
The job type. This value is IMPORT for import jobs.
type
- The job type. This value is IMPORT for import jobs.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.