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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PartitionError.BuildererrorDetail(Consumer<ErrorDetail.Builder> errorDetail)The details about the partition error.PartitionError.BuildererrorDetail(ErrorDetail errorDetail)The details about the partition error.PartitionError.BuilderpartitionValues(String... partitionValues)The values that define the partition.PartitionError.BuilderpartitionValues(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
partitionValues
PartitionError.Builder partitionValues(Collection<String> 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
PartitionError.Builder partitionValues(String... 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
PartitionError.Builder errorDetail(ErrorDetail 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
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.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,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:
errorDetail(ErrorDetail)
-
-