public static interface BatchWriteRequest.Builder extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<BatchWriteRequest.Builder,BatchWriteRequest>
Modifier and Type | Method and Description |
---|---|
BatchWriteRequest.Builder |
directoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the Directory.
|
BatchWriteRequest.Builder |
operations(BatchWriteOperation... operations)
A list of operations that are part of the batch.
|
BatchWriteRequest.Builder |
operations(Collection<BatchWriteOperation> operations)
A list of operations that are part of the batch.
|
BatchWriteRequest.Builder |
operations(Consumer<BatchWriteOperation.Builder>... operations)
A list of operations that are part of the batch.
|
BatchWriteRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
BatchWriteRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
BatchWriteRequest.Builder directoryArn(String directoryArn)
BatchWriteRequest.Builder operations(Collection<BatchWriteOperation> operations)
A list of operations that are part of the batch.
operations
- A list of operations that are part of the batch.BatchWriteRequest.Builder operations(BatchWriteOperation... operations)
A list of operations that are part of the batch.
operations
- A list of operations that are part of the batch.BatchWriteRequest.Builder operations(Consumer<BatchWriteOperation.Builder>... operations)
A list of operations that are part of the batch.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #operations(List)
.operations
- a consumer that will call methods on List.Builder
#operations(List)
BatchWriteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.BatchWriteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.