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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchReadRequest.BuilderconsistencyLevel(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.BatchReadRequest.BuilderconsistencyLevel(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.BatchReadRequest.BuilderdirectoryArn(String directoryArn)The Amazon Resource Name (ARN) that is associated with the Directory.BatchReadRequest.Builderoperations(Collection<BatchReadOperation> operations)A list of operations that are part of the batch.BatchReadRequest.Builderoperations(Consumer<BatchReadOperation.Builder>... operations)A list of operations that are part of the batch.BatchReadRequest.Builderoperations(BatchReadOperation... operations)A list of operations that are part of the batch.BatchReadRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchReadRequest.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
BatchReadRequest.Builder directoryArn(String directoryArn)
-
operations
BatchReadRequest.Builder operations(Collection<BatchReadOperation> 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
BatchReadRequest.Builder operations(BatchReadOperation... 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
BatchReadRequest.Builder operations(Consumer<BatchReadOperation.Builder>... 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 to#operations(List.) - 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:
#operations(java.util.Collection)
-
consistencyLevel
BatchReadRequest.Builder consistencyLevel(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.
- 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,ConsistencyLevel
-
consistencyLevel
BatchReadRequest.Builder 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.
- 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,ConsistencyLevel
-
overrideConfiguration
BatchReadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchReadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-