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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchWriteRequest.BuilderdirectoryArn(String directoryArn)The Amazon Resource Name (ARN) that is associated with the Directory.BatchWriteRequest.Builderoperations(Collection<BatchWriteOperation> operations)A list of operations that are part of the batch.BatchWriteRequest.Builderoperations(Consumer<BatchWriteOperation.Builder>... operations)A list of operations that are part of the batch.BatchWriteRequest.Builderoperations(BatchWriteOperation... operations)A list of operations that are part of the batch.BatchWriteRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchWriteRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
directoryArn
BatchWriteRequest.Builder directoryArn(String directoryArn)
-
operations
BatchWriteRequest.Builder operations(Collection<BatchWriteOperation> 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
BatchWriteRequest.Builder operations(BatchWriteOperation... 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
BatchWriteRequest.Builder operations(Consumer<BatchWriteOperation.Builder>... 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 to#operations(List.) - 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:
#operations(java.util.Collection)
-
overrideConfiguration
BatchWriteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchWriteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-