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
Modifier and TypeMethodDescriptionThe unique identifier of the import batch.errorMessage(String errorMessage) The error message if the batch failed to import.The current status of the import batch.status(ImportStatus status) The current status of the import batch.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
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:
-
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.
-