Interface BatchWriteRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<BatchWriteRequest.Builder,,BatchWriteRequest> SdkBuilder<BatchWriteRequest.Builder,,BatchWriteRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchWriteRequest
public static interface BatchWriteRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<BatchWriteRequest.Builder,BatchWriteRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryArn(String directoryArn) The Amazon Resource Name (ARN) that is associated with the Directory.operations(Collection<BatchWriteOperation> operations) A list of operations that are part of the batch.operations(Consumer<BatchWriteOperation.Builder>... operations) A list of operations that are part of the batch.operations(BatchWriteOperation... operations) A list of operations that are part of the batch.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
directoryArn
-
operations
A list of operations that are part of the batch.
- Parameters:
operations- A list of operations that are part of the batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
A list of operations that are part of the batch.
- Parameters:
operations- A list of operations that are part of the batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
A list of operations that are part of the batch.
This is a convenience method that creates an instance of theBatchWriteOperation.Builderavoiding the need to create one manually viaBatchWriteOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperations(List<BatchWriteOperation>).- Parameters:
operations- a consumer that will call methods onBatchWriteOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchWriteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchWriteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-