public static interface BatchWriteRequest.Builder extends CloudDirectoryRequest.Builder, 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
BatchWriteRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.BatchWriteRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.