Class BulkOperationDescription
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BulkOperationDescription.Builder,BulkOperationDescription>
Contains detailed information about a bulk operation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe Amazon Resource Name (ARN) of the bulk operation.final BulkOperationStatusThe current status of the bulk operation can be one of the following values:final StringThe current status of the bulk operation can be one of the following values:final List<BulkOperationUsage> Usage information for the table and its indexes.final StringThe idempotency token associated with the start request.final InstantendTime()The time when the operation reached a terminal status.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final LongThe number of processed input items that failed because of parsing or validation errors.final StringA code that identifies why the bulk operation failed or was cancelled.final StringA message that describes why the bulk operation failed or was cancelled.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the BulkOperationUsage property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the TableDetails property.final InputS3ConfigurationThe Amazon S3 input configuration associated with the bulk operation.final LongThe maximum write request unit rate configured for the bulk operation.final OutputS3ConfigurationThe Amazon S3 output configuration associated with the bulk operation.The performance tier selected for the bulk operation.final StringThe performance tier selected for the bulk operation.final LongThe number of bytes that DynamoDB has read from the Amazon S3 input objects.final LongThe number of input items that DynamoDB has processed.static Class<? extends BulkOperationDescription.Builder> final InstantThe time when DynamoDB accepted the start request.final List<BulkOperationTableDetail> A list containing identifying information for the table targeted by the bulk operation.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final LongThe total size, in bytes, of the Amazon S3 input objects.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
bulkOperationArn
The Amazon Resource Name (ARN) of the bulk operation.
- Returns:
- The Amazon Resource Name (ARN) of the bulk operation.
-
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.
If the service returns an enum value that is not available in the current SDK version,
bulkOperationStatuswill returnBulkOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombulkOperationStatusAsString().- Returns:
- 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.
- See Also:
-
bulkOperationStatusAsString
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.
If the service returns an enum value that is not available in the current SDK version,
bulkOperationStatuswill returnBulkOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombulkOperationStatusAsString().- Returns:
- 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.
- See Also:
-
hasTableDetails
public final boolean hasTableDetails()For responses, this returns true if the service returned a value for the TableDetails property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
tableDetails
A list containing identifying information for the table targeted by the bulk operation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTableDetails()method.- Returns:
- A list containing identifying information for the table targeted by the bulk operation.
-
clientToken
The idempotency token associated with the start request.
- Returns:
- The idempotency token associated with the start request.
-
inputS3Configuration
The Amazon S3 input configuration associated with the bulk operation.
- Returns:
- The Amazon S3 input configuration associated with the bulk operation.
-
outputS3Configuration
The Amazon S3 output configuration associated with the bulk operation.
- Returns:
- The Amazon S3 output configuration associated with the bulk operation.
-
startTime
The time when DynamoDB accepted the start request.
- Returns:
- The time when DynamoDB accepted the start request.
-
endTime
The time when the operation reached a terminal status. DynamoDB omits this value while the operation remains in progress.
- Returns:
- The time when the operation reached a terminal status. DynamoDB omits this value while the operation remains in progress.
-
processedItemCount
The number of input items that DynamoDB has processed. This count includes successful writes, parsing or validation failures, and condition-check failures.
- Returns:
- The number of input items that DynamoDB has processed. This count includes successful writes, parsing or validation failures, and condition-check failures.
-
processedInputBytes
The number of bytes that DynamoDB has read from the Amazon S3 input objects.
- Returns:
- The number of bytes that DynamoDB has read from the Amazon S3 input objects.
-
totalInputBytes
The total size, in bytes, of the Amazon S3 input objects. DynamoDB omits this value until the initial input-size calculation completes.
- Returns:
- The total size, in bytes, of the Amazon S3 input objects. DynamoDB omits this value until the initial input-size calculation completes.
-
hasBulkOperationUsage
public final boolean hasBulkOperationUsage()For responses, this returns true if the service returned a value for the BulkOperationUsage property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
bulkOperationUsage
Usage information for the table and its indexes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasBulkOperationUsage()method.- Returns:
- Usage information for the table and its indexes.
-
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.- Returns:
- 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.
-
failureCode
A code that identifies why the bulk operation failed or was cancelled. DynamoDB returns this value only when
BulkOperationStatusisFAILEDorCANCELLED.- Returns:
- A code that identifies why the bulk operation failed or was cancelled. DynamoDB returns this value only
when
BulkOperationStatusisFAILEDorCANCELLED.
-
failureMessage
A message that describes why the bulk operation failed or was cancelled. DynamoDB returns this value only when
BulkOperationStatusisFAILEDorCANCELLED.- Returns:
- A message that describes why the bulk operation failed or was cancelled. DynamoDB returns this value only
when
BulkOperationStatusisFAILEDorCANCELLED.
-
maxWriteRequestUnits
The maximum write request unit rate configured for the bulk operation.
- Returns:
- The maximum write request unit rate configured for the bulk operation.
-
performanceTier
The performance tier selected for the bulk operation. Valid values are
STANDARDandACCELERATED. If the start request omitted this value, DynamoDB usesSTANDARD.If the service returns an enum value that is not available in the current SDK version,
performanceTierwill returnBulkOperationPerformanceTier.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromperformanceTierAsString().- Returns:
- The performance tier selected for the bulk operation. Valid values are
STANDARDandACCELERATED. If the start request omitted this value, DynamoDB usesSTANDARD. - See Also:
-
performanceTierAsString
The performance tier selected for the bulk operation. Valid values are
STANDARDandACCELERATED. If the start request omitted this value, DynamoDB usesSTANDARD.If the service returns an enum value that is not available in the current SDK version,
performanceTierwill returnBulkOperationPerformanceTier.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromperformanceTierAsString().- Returns:
- The performance tier selected for the bulk operation. Valid values are
STANDARDandACCELERATED. If the start request omitted this value, DynamoDB usesSTANDARD. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<BulkOperationDescription.Builder,BulkOperationDescription> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-