public static interface PartitionError.Builder extends SdkPojo, CopyableBuilder<PartitionError.Builder,PartitionError>
| Modifier and Type | Method and Description |
|---|---|
default PartitionError.Builder |
errorDetail(Consumer<ErrorDetail.Builder> errorDetail)
The details about the partition error.
|
PartitionError.Builder |
errorDetail(ErrorDetail errorDetail)
The details about the partition error.
|
PartitionError.Builder |
partitionValues(Collection<String> partitionValues)
The values that define the partition.
|
PartitionError.Builder |
partitionValues(String... partitionValues)
The values that define the partition.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPartitionError.Builder partitionValues(Collection<String> partitionValues)
The values that define the partition.
partitionValues - The values that define the partition.PartitionError.Builder partitionValues(String... partitionValues)
The values that define the partition.
partitionValues - The values that define the partition.PartitionError.Builder errorDetail(ErrorDetail errorDetail)
The details about the partition error.
errorDetail - The details about the partition error.default PartitionError.Builder errorDetail(Consumer<ErrorDetail.Builder> errorDetail)
The details about the partition error.
This is a convenience method that creates an instance of theErrorDetail.Builder avoiding the need to
create one manually via ErrorDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to errorDetail(ErrorDetail).
errorDetail - a consumer that will call methods on ErrorDetail.BuildererrorDetail(ErrorDetail)Copyright © 2023. All rights reserved.