Interface ImportJobResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImportJobResponse.Builder,ImportJobResponse>,SdkBuilder<ImportJobResponse.Builder,ImportJobResponse>,SdkPojo
- Enclosing class:
- ImportJobResponse
public static interface ImportJobResponse.Builder extends SdkPojo, CopyableBuilder<ImportJobResponse.Builder,ImportJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImportJobResponse.BuilderapplicationId(String applicationId)The unique identifier for the application that's associated with the import job.ImportJobResponse.BuildercompletedPieces(Integer completedPieces)The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.ImportJobResponse.BuildercompletionDate(String completionDate)The date, in ISO 8601 format, when the import job was completed.ImportJobResponse.BuildercreationDate(String creationDate)The date, in ISO 8601 format, when the import job was created.default ImportJobResponse.Builderdefinition(Consumer<ImportJobResource.Builder> definition)The resource settings that apply to the import job.ImportJobResponse.Builderdefinition(ImportJobResource definition)The resource settings that apply to the import job.ImportJobResponse.BuilderfailedPieces(Integer failedPieces)The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.ImportJobResponse.Builderfailures(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.Builderfailures(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.Builderid(String id)The unique identifier for the import job.ImportJobResponse.BuilderjobStatus(String jobStatus)The status of the import job.ImportJobResponse.BuilderjobStatus(JobStatus jobStatus)The status of the import job.ImportJobResponse.BuildertotalFailures(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.BuildertotalPieces(Integer totalPieces)The total number of pieces that must be processed to complete the import job.ImportJobResponse.BuildertotalProcessed(Integer totalProcessed)The total number of endpoint definitions that were processed by the import job.ImportJobResponse.Buildertype(String type)The job type.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
applicationId
ImportJobResponse.Builder applicationId(String applicationId)
The unique identifier for the application that's associated with the import job.
- Parameters:
applicationId- The unique identifier for the application that's associated with the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedPieces
ImportJobResponse.Builder completedPieces(Integer completedPieces)
The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.
- Parameters:
completedPieces- The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionDate
ImportJobResponse.Builder completionDate(String completionDate)
The date, in ISO 8601 format, when the import job was completed.
- Parameters:
completionDate- The date, in ISO 8601 format, when the import job was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
ImportJobResponse.Builder creationDate(String creationDate)
The date, in ISO 8601 format, when the import job was created.
- Parameters:
creationDate- The date, in ISO 8601 format, when the import job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
ImportJobResponse.Builder definition(ImportJobResource definition)
The resource settings that apply to the import job.
- Parameters:
definition- The resource settings that apply to the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default ImportJobResponse.Builder definition(Consumer<ImportJobResource.Builder> definition)
The resource settings that apply to the import job.
This is a convenience method that creates an instance of theImportJobResource.Builderavoiding the need to create one manually viaImportJobResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(ImportJobResource).- Parameters:
definition- a consumer that will call methods onImportJobResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
definition(ImportJobResource)
-
failedPieces
ImportJobResponse.Builder failedPieces(Integer failedPieces)
The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.
- Parameters:
failedPieces- The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
ImportJobResponse.Builder failures(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
ImportJobResponse.Builder failures(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
ImportJobResponse.Builder id(String id)
The unique identifier for the import job.
- Parameters:
id- The unique identifier for the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobStatus
ImportJobResponse.Builder jobStatus(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
ImportJobResponse.Builder jobStatus(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.
-
totalFailures
ImportJobResponse.Builder totalFailures(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalPieces
ImportJobResponse.Builder totalPieces(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalProcessed
ImportJobResponse.Builder totalProcessed(Integer totalProcessed)
The total number of endpoint definitions that were processed by the import job.
- Parameters:
totalProcessed- The total number of endpoint definitions that were processed by the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
ImportJobResponse.Builder type(String type)
The job type. This value is IMPORT for import jobs.
- Parameters:
type- The job type. This value is IMPORT for import jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-