Class BulkOperation.Builder
-
- All Implemented Interfaces:
public final class BulkOperation.BuilderA builder for BulkOperation.
-
-
Method Summary
-
-
Method Detail
-
id
final BulkOperation.Builder id(String id)
Unique identifier for the bulk operation.
-
id
final BulkOperation.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
_typename
final BulkOperation.Builder _typename(String _typename)
The typename of the schema.
-
_typename
final BulkOperation.Builder _typename(JsonField<String> _typename)
Sets Builder._typename to an arbitrary JSON value.
You should usually call Builder._typename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
estimatedTotalRows
final BulkOperation.Builder estimatedTotalRows(Long estimatedTotalRows)
The estimated total number of rows to process.
-
estimatedTotalRows
final BulkOperation.Builder estimatedTotalRows(JsonField<Long> estimatedTotalRows)
Sets Builder.estimatedTotalRows to an arbitrary JSON value.
You should usually call Builder.estimatedTotalRows with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
insertedAt
final BulkOperation.Builder insertedAt(OffsetDateTime insertedAt)
Timestamp when the resource was created.
-
insertedAt
final BulkOperation.Builder insertedAt(JsonField<OffsetDateTime> insertedAt)
Sets Builder.insertedAt to an arbitrary JSON value.
You should usually call Builder.insertedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BulkOperation.Builder name(String name)
The name of the bulk operation.
-
name
final BulkOperation.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
processedRows
final BulkOperation.Builder processedRows(Long processedRows)
The number of rows processed so far.
-
processedRows
final BulkOperation.Builder processedRows(JsonField<Long> processedRows)
Sets Builder.processedRows to an arbitrary JSON value.
You should usually call Builder.processedRows with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final BulkOperation.Builder status(BulkOperation.Status status)
The status of the bulk operation.
-
status
final BulkOperation.Builder status(JsonField<BulkOperation.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
successCount
final BulkOperation.Builder successCount(Long successCount)
The number of successful operations.
-
successCount
final BulkOperation.Builder successCount(JsonField<Long> successCount)
Sets Builder.successCount to an arbitrary JSON value.
You should usually call Builder.successCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final BulkOperation.Builder updatedAt(OffsetDateTime updatedAt)
The timestamp when the resource was last updated.
-
updatedAt
final BulkOperation.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
completedAt
final BulkOperation.Builder completedAt(OffsetDateTime completedAt)
Timestamp when the bulk operation was completed.
-
completedAt
final BulkOperation.Builder completedAt(Optional<OffsetDateTime> completedAt)
Alias for calling Builder.completedAt with
completedAt.orElse(null).
-
completedAt
final BulkOperation.Builder completedAt(JsonField<OffsetDateTime> completedAt)
Sets Builder.completedAt to an arbitrary JSON value.
You should usually call Builder.completedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
errorCount
final BulkOperation.Builder errorCount(Long errorCount)
The number of failed operations.
-
errorCount
final BulkOperation.Builder errorCount(JsonField<Long> errorCount)
Sets Builder.errorCount to an arbitrary JSON value.
You should usually call Builder.errorCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
errorItems
final BulkOperation.Builder errorItems(List<BulkOperation.ErrorItem> errorItems)
A list of items that failed to be processed.
-
errorItems
final BulkOperation.Builder errorItems(JsonField<List<BulkOperation.ErrorItem>> errorItems)
Sets Builder.errorItems to an arbitrary JSON value.
You should usually call Builder.errorItems with a well-typed
List<ErrorItem>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addErrorItem
final BulkOperation.Builder addErrorItem(BulkOperation.ErrorItem errorItem)
Adds a single ErrorItem to errorItems.
-
failedAt
final BulkOperation.Builder failedAt(OffsetDateTime failedAt)
Timestamp when the bulk operation failed.
-
failedAt
final BulkOperation.Builder failedAt(Optional<OffsetDateTime> failedAt)
Alias for calling Builder.failedAt with
failedAt.orElse(null).
-
failedAt
final BulkOperation.Builder failedAt(JsonField<OffsetDateTime> failedAt)
Sets Builder.failedAt to an arbitrary JSON value.
You should usually call Builder.failedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
progressPath
final BulkOperation.Builder progressPath(String progressPath)
The URI to the bulk operation's progress.
-
progressPath
final BulkOperation.Builder progressPath(JsonField<String> progressPath)
Sets Builder.progressPath to an arbitrary JSON value.
You should usually call Builder.progressPath with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startedAt
final BulkOperation.Builder startedAt(OffsetDateTime startedAt)
Timestamp when the bulk operation was started.
-
startedAt
final BulkOperation.Builder startedAt(Optional<OffsetDateTime> startedAt)
Alias for calling Builder.startedAt with
startedAt.orElse(null).
-
startedAt
final BulkOperation.Builder startedAt(JsonField<OffsetDateTime> startedAt)
Sets Builder.startedAt to an arbitrary JSON value.
You should usually call Builder.startedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BulkOperation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BulkOperation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BulkOperation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BulkOperation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BulkOperation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BulkOperation build()
Returns an immutable instance of BulkOperation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() ._typename() .estimatedTotalRows() .insertedAt() .name() .processedRows() .status() .successCount() .updatedAt()
-
-
-
-