Interface BatchReadRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<BatchReadRequest.Builder,,BatchReadRequest> SdkBuilder<BatchReadRequest.Builder,,BatchReadRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchReadRequest
public static interface BatchReadRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<BatchReadRequest.Builder,BatchReadRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconsistencyLevel(String consistencyLevel) Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.consistencyLevel(ConsistencyLevel consistencyLevel) Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.directoryArn(String directoryArn) The Amazon Resource Name (ARN) that is associated with the Directory.operations(Collection<BatchReadOperation> operations) A list of operations that are part of the batch.operations(Consumer<BatchReadOperation.Builder>... operations) A list of operations that are part of the batch.operations(BatchReadOperation... 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 theBatchReadOperation.Builderavoiding the need to create one manually viaBatchReadOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperations(List<BatchReadOperation>).- Parameters:
operations- a consumer that will call methods onBatchReadOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consistencyLevel
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
- Parameters:
consistencyLevel- Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consistencyLevel
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
- Parameters:
consistencyLevel- Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchReadRequest.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
BatchReadRequest.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.
-