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