Interface ImportBatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImportBatch.Builder,ImportBatch>,SdkBuilder<ImportBatch.Builder,ImportBatch>,SdkPojo
- Enclosing class:
- ImportBatch
@Mutable @NotThreadSafe public static interface ImportBatch.Builder extends SdkPojo, CopyableBuilder<ImportBatch.Builder,ImportBatch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportBatch.BuilderbatchId(String batchId)The unique identifier of the import batch.ImportBatch.BuildererrorMessage(String errorMessage)The error message if the batch failed to import.ImportBatch.Builderstatus(String status)The current status of the import batch.ImportBatch.Builderstatus(ImportStatus status)The current status of the import batch.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
batchId
ImportBatch.Builder batchId(String batchId)
The unique identifier of the import batch.
- Parameters:
batchId- The unique identifier of the import batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ImportBatch.Builder status(String status)
The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
- Parameters:
status- The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportStatus,ImportStatus
-
status
ImportBatch.Builder status(ImportStatus status)
The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
- Parameters:
status- The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportStatus,ImportStatus
-
errorMessage
ImportBatch.Builder errorMessage(String errorMessage)
The error message if the batch failed to import. Only present when status is FAILED.
- Parameters:
errorMessage- The error message if the batch failed to import. Only present when status is FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-