Interface PartitionError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PartitionError.Builder,
,PartitionError> SdkBuilder<PartitionError.Builder,
,PartitionError> SdkPojo
- Enclosing class:
PartitionError
public static interface PartitionError.Builder
extends SdkPojo, CopyableBuilder<PartitionError.Builder,PartitionError>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PartitionError.Builder
errorDetail
(Consumer<ErrorDetail.Builder> errorDetail) The details about the partition error.errorDetail
(ErrorDetail errorDetail) The details about the partition error.partitionValues
(String... partitionValues) The values that define the partition.partitionValues
(Collection<String> partitionValues) The values that define the partition.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
partitionValues
The values that define the partition.
- Parameters:
partitionValues
- The values that define the partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionValues
The values that define the partition.
- Parameters:
partitionValues
- The values that define the partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
The details about the partition error.
- Parameters:
errorDetail
- The details about the partition error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaErrorDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorDetail(ErrorDetail)
.- Parameters:
errorDetail
- a consumer that will call methods onErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-