Interface BatchCreatePartitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchCreatePartitionResponse.Builder,,BatchCreatePartitionResponse> GlueResponse.Builder,SdkBuilder<BatchCreatePartitionResponse.Builder,,BatchCreatePartitionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchCreatePartitionResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaPartitionError.builder().When the
Consumercompletes,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:
-