Interface BatchCreatePartitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchCreatePartitionResponse.Builder,
,BatchCreatePartitionResponse> GlueResponse.Builder
,SdkBuilder<BatchCreatePartitionResponse.Builder,
,BatchCreatePartitionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchCreatePartitionResponse
@Mutable
@NotThreadSafe
public static interface BatchCreatePartitionResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<BatchCreatePartitionResponse.Builder,BatchCreatePartitionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<PartitionError> errors) The errors encountered when trying to create the requested partitions.errors
(Consumer<PartitionError.Builder>... errors) The errors encountered when trying to create the requested partitions.errors
(PartitionError... errors) The errors encountered when trying to create the requested partitions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errors
The errors encountered when trying to create the requested partitions.
- Parameters:
errors
- The errors encountered when trying to create the requested partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors encountered when trying to create the requested partitions.
- Parameters:
errors
- The errors encountered when trying to create the requested partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors encountered when trying to create the requested partitions.
This is a convenience method that creates an instance of thePartitionError.Builder
avoiding the need to create one manually viaPartitionError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<PartitionError>)
.- Parameters:
errors
- a consumer that will call methods onPartitionError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-