Interface BulkOperationDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BulkOperationDescription.Builder,,BulkOperationDescription> SdkBuilder<BulkOperationDescription.Builder,,BulkOperationDescription> SdkPojo
- Enclosing class:
BulkOperationDescription
-
Method Summary
Modifier and TypeMethodDescriptionbulkOperationArn(String bulkOperationArn) The Amazon Resource Name (ARN) of the bulk operation.bulkOperationStatus(String bulkOperationStatus) The current status of the bulk operation can be one of the following values:bulkOperationStatus(BulkOperationStatus bulkOperationStatus) The current status of the bulk operation can be one of the following values:bulkOperationUsage(Collection<BulkOperationUsage> bulkOperationUsage) Usage information for the table and its indexes.bulkOperationUsage(Consumer<BulkOperationUsage.Builder>... bulkOperationUsage) Usage information for the table and its indexes.bulkOperationUsage(BulkOperationUsage... bulkOperationUsage) Usage information for the table and its indexes.clientToken(String clientToken) The idempotency token associated with the start request.The time when the operation reached a terminal status.failedItemCount(Long failedItemCount) The number of processed input items that failed because of parsing or validation errors.failureCode(String failureCode) A code that identifies why the bulk operation failed or was cancelled.failureMessage(String failureMessage) A message that describes why the bulk operation failed or was cancelled.default BulkOperationDescription.BuilderinputS3Configuration(Consumer<InputS3Configuration.Builder> inputS3Configuration) The Amazon S3 input configuration associated with the bulk operation.inputS3Configuration(InputS3Configuration inputS3Configuration) The Amazon S3 input configuration associated with the bulk operation.maxWriteRequestUnits(Long maxWriteRequestUnits) The maximum write request unit rate configured for the bulk operation.default BulkOperationDescription.BuilderoutputS3Configuration(Consumer<OutputS3Configuration.Builder> outputS3Configuration) The Amazon S3 output configuration associated with the bulk operation.outputS3Configuration(OutputS3Configuration outputS3Configuration) The Amazon S3 output configuration associated with the bulk operation.performanceTier(String performanceTier) The performance tier selected for the bulk operation.performanceTier(BulkOperationPerformanceTier performanceTier) The performance tier selected for the bulk operation.processedInputBytes(Long processedInputBytes) The number of bytes that DynamoDB has read from the Amazon S3 input objects.processedItemCount(Long processedItemCount) The number of input items that DynamoDB has processed.The time when DynamoDB accepted the start request.tableDetails(Collection<BulkOperationTableDetail> tableDetails) A list containing identifying information for the table targeted by the bulk operation.tableDetails(Consumer<BulkOperationTableDetail.Builder>... tableDetails) A list containing identifying information for the table targeted by the bulk operation.tableDetails(BulkOperationTableDetail... tableDetails) A list containing identifying information for the table targeted by the bulk operation.totalInputBytes(Long totalInputBytes) The total size, in bytes, of the Amazon S3 input objects.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
-
bulkOperationArn
The Amazon Resource Name (ARN) of the bulk operation.
- Parameters:
bulkOperationArn- The Amazon Resource Name (ARN) of the bulk operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bulkOperationStatus
The current status of the bulk operation can be one of the following values:
- IN_PROGRESS
-
DynamoDB is processing the input.
- COMPLETED
-
The bulk operation finished without parsing or validation errors. Condition-check failures do not cause the operation to complete with errors.
- COMPLETED_WITH_ERRORS
-
The bulk operation finished, but DynamoDB couldn't process at least one input item because of a parsing or validation error. When you enable
ERRORoutput, DynamoDB writes the details to the configured Amazon S3 output location. - CANCELLING
-
DynamoDB accepted a cancellation request and is stopping the operation.
- CANCELLED
-
DynamoDB stopped the operation after a cancellation request.
- FAILED
-
The bulk operation failed. DynamoDB might write some items before the operation reaches this status. See FailureCode and FailureMessage for details.
- Parameters:
bulkOperationStatus- The current status of the bulk operation can be one of the following values:- IN_PROGRESS
-
DynamoDB is processing the input.
- COMPLETED
-
The bulk operation finished without parsing or validation errors. Condition-check failures do not cause the operation to complete with errors.
- COMPLETED_WITH_ERRORS
-
The bulk operation finished, but DynamoDB couldn't process at least one input item because of a parsing or validation error. When you enable
ERRORoutput, DynamoDB writes the details to the configured Amazon S3 output location. - CANCELLING
-
DynamoDB accepted a cancellation request and is stopping the operation.
- CANCELLED
-
DynamoDB stopped the operation after a cancellation request.
- FAILED
-
The bulk operation failed. DynamoDB might write some items before the operation reaches this status. See FailureCode and FailureMessage for details.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bulkOperationStatus
The current status of the bulk operation can be one of the following values:
- IN_PROGRESS
-
DynamoDB is processing the input.
- COMPLETED
-
The bulk operation finished without parsing or validation errors. Condition-check failures do not cause the operation to complete with errors.
- COMPLETED_WITH_ERRORS
-
The bulk operation finished, but DynamoDB couldn't process at least one input item because of a parsing or validation error. When you enable
ERRORoutput, DynamoDB writes the details to the configured Amazon S3 output location. - CANCELLING
-
DynamoDB accepted a cancellation request and is stopping the operation.
- CANCELLED
-
DynamoDB stopped the operation after a cancellation request.
- FAILED
-
The bulk operation failed. DynamoDB might write some items before the operation reaches this status. See FailureCode and FailureMessage for details.
- Parameters:
bulkOperationStatus- The current status of the bulk operation can be one of the following values:- IN_PROGRESS
-
DynamoDB is processing the input.
- COMPLETED
-
The bulk operation finished without parsing or validation errors. Condition-check failures do not cause the operation to complete with errors.
- COMPLETED_WITH_ERRORS
-
The bulk operation finished, but DynamoDB couldn't process at least one input item because of a parsing or validation error. When you enable
ERRORoutput, DynamoDB writes the details to the configured Amazon S3 output location. - CANCELLING
-
DynamoDB accepted a cancellation request and is stopping the operation.
- CANCELLED
-
DynamoDB stopped the operation after a cancellation request.
- FAILED
-
The bulk operation failed. DynamoDB might write some items before the operation reaches this status. See FailureCode and FailureMessage for details.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tableDetails
A list containing identifying information for the table targeted by the bulk operation.
- Parameters:
tableDetails- A list containing identifying information for the table targeted by the bulk operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableDetails
A list containing identifying information for the table targeted by the bulk operation.
- Parameters:
tableDetails- A list containing identifying information for the table targeted by the bulk operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableDetails
BulkOperationDescription.Builder tableDetails(Consumer<BulkOperationTableDetail.Builder>... tableDetails) A list containing identifying information for the table targeted by the bulk operation.
This is a convenience method that creates an instance of theBulkOperationTableDetail.Builderavoiding the need to create one manually viaBulkOperationTableDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totableDetails(List<BulkOperationTableDetail>).- Parameters:
tableDetails- a consumer that will call methods onBulkOperationTableDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
The idempotency token associated with the start request.
- Parameters:
clientToken- The idempotency token associated with the start request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputS3Configuration
The Amazon S3 input configuration associated with the bulk operation.
- Parameters:
inputS3Configuration- The Amazon S3 input configuration associated with the bulk operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputS3Configuration
default BulkOperationDescription.Builder inputS3Configuration(Consumer<InputS3Configuration.Builder> inputS3Configuration) The Amazon S3 input configuration associated with the bulk operation.
This is a convenience method that creates an instance of theInputS3Configuration.Builderavoiding the need to create one manually viaInputS3Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputS3Configuration(InputS3Configuration).- Parameters:
inputS3Configuration- a consumer that will call methods onInputS3Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputS3Configuration
The Amazon S3 output configuration associated with the bulk operation.
- Parameters:
outputS3Configuration- The Amazon S3 output configuration associated with the bulk operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputS3Configuration
default BulkOperationDescription.Builder outputS3Configuration(Consumer<OutputS3Configuration.Builder> outputS3Configuration) The Amazon S3 output configuration associated with the bulk operation.
This is a convenience method that creates an instance of theOutputS3Configuration.Builderavoiding the need to create one manually viaOutputS3Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputS3Configuration(OutputS3Configuration).- Parameters:
outputS3Configuration- a consumer that will call methods onOutputS3Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The time when DynamoDB accepted the start request.
- Parameters:
startTime- The time when DynamoDB accepted the start request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time when the operation reached a terminal status. DynamoDB omits this value while the operation remains in progress.
- Parameters:
endTime- The time when the operation reached a terminal status. DynamoDB omits this value while the operation remains in progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processedItemCount
The number of input items that DynamoDB has processed. This count includes successful writes, parsing or validation failures, and condition-check failures.
- Parameters:
processedItemCount- The number of input items that DynamoDB has processed. This count includes successful writes, parsing or validation failures, and condition-check failures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processedInputBytes
The number of bytes that DynamoDB has read from the Amazon S3 input objects.
- Parameters:
processedInputBytes- The number of bytes that DynamoDB has read from the Amazon S3 input objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalInputBytes
The total size, in bytes, of the Amazon S3 input objects. DynamoDB omits this value until the initial input-size calculation completes.
- Parameters:
totalInputBytes- The total size, in bytes, of the Amazon S3 input objects. DynamoDB omits this value until the initial input-size calculation completes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bulkOperationUsage
BulkOperationDescription.Builder bulkOperationUsage(Collection<BulkOperationUsage> bulkOperationUsage) Usage information for the table and its indexes.
- Parameters:
bulkOperationUsage- Usage information for the table and its indexes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bulkOperationUsage
Usage information for the table and its indexes.
- Parameters:
bulkOperationUsage- Usage information for the table and its indexes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bulkOperationUsage
BulkOperationDescription.Builder bulkOperationUsage(Consumer<BulkOperationUsage.Builder>... bulkOperationUsage) Usage information for the table and its indexes.
This is a convenience method that creates an instance of theBulkOperationUsage.Builderavoiding the need to create one manually viaBulkOperationUsage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobulkOperationUsage(List<BulkOperationUsage>).- Parameters:
bulkOperationUsage- a consumer that will call methods onBulkOperationUsage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failedItemCount
The number of processed input items that failed because of parsing or validation errors. This count is included in
ProcessedItemCount. Condition-check failures do not increase this count.- Parameters:
failedItemCount- The number of processed input items that failed because of parsing or validation errors. This count is included inProcessedItemCount. Condition-check failures do not increase this count.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCode
A code that identifies why the bulk operation failed or was cancelled. DynamoDB returns this value only when
BulkOperationStatusisFAILEDorCANCELLED.- Parameters:
failureCode- A code that identifies why the bulk operation failed or was cancelled. DynamoDB returns this value only whenBulkOperationStatusisFAILEDorCANCELLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessage
A message that describes why the bulk operation failed or was cancelled. DynamoDB returns this value only when
BulkOperationStatusisFAILEDorCANCELLED.- Parameters:
failureMessage- A message that describes why the bulk operation failed or was cancelled. DynamoDB returns this value only whenBulkOperationStatusisFAILEDorCANCELLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxWriteRequestUnits
The maximum write request unit rate configured for the bulk operation.
- Parameters:
maxWriteRequestUnits- The maximum write request unit rate configured for the bulk operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceTier
The performance tier selected for the bulk operation. Valid values are
STANDARDandACCELERATED. If the start request omitted this value, DynamoDB usesSTANDARD.- Parameters:
performanceTier- The performance tier selected for the bulk operation. Valid values areSTANDARDandACCELERATED. If the start request omitted this value, DynamoDB usesSTANDARD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
performanceTier
The performance tier selected for the bulk operation. Valid values are
STANDARDandACCELERATED. If the start request omitted this value, DynamoDB usesSTANDARD.- Parameters:
performanceTier- The performance tier selected for the bulk operation. Valid values areSTANDARDandACCELERATED. If the start request omitted this value, DynamoDB usesSTANDARD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-