Interface AttachToIndexRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<AttachToIndexRequest.Builder,
,AttachToIndexRequest> SdkBuilder<AttachToIndexRequest.Builder,
,AttachToIndexRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AttachToIndexRequest
public static interface AttachToIndexRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<AttachToIndexRequest.Builder,AttachToIndexRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryArn
(String directoryArn) The Amazon Resource Name (ARN) of the directory where the object and index exist.default AttachToIndexRequest.Builder
indexReference
(Consumer<ObjectReference.Builder> indexReference) A reference to the index that you are attaching the object to.indexReference
(ObjectReference indexReference) A reference to the index that you are attaching the object to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default AttachToIndexRequest.Builder
targetReference
(Consumer<ObjectReference.Builder> targetReference) A reference to the object that you are attaching to the index.targetReference
(ObjectReference targetReference) A reference to the object that you are attaching to the index.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 Details
-
directoryArn
The Amazon Resource Name (ARN) of the directory where the object and index exist.
- Parameters:
directoryArn
- The Amazon Resource Name (ARN) of the directory where the object and index exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexReference
A reference to the index that you are attaching the object to.
- Parameters:
indexReference
- A reference to the index that you are attaching the object to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexReference
default AttachToIndexRequest.Builder indexReference(Consumer<ObjectReference.Builder> indexReference) A reference to the index that you are attaching the object to.
This is a convenience method that creates an instance of theObjectReference.Builder
avoiding the need to create one manually viaObjectReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toindexReference(ObjectReference)
.- Parameters:
indexReference
- a consumer that will call methods onObjectReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetReference
A reference to the object that you are attaching to the index.
- Parameters:
targetReference
- A reference to the object that you are attaching to the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetReference
default AttachToIndexRequest.Builder targetReference(Consumer<ObjectReference.Builder> targetReference) A reference to the object that you are attaching to the index.
This is a convenience method that creates an instance of theObjectReference.Builder
avoiding the need to create one manually viaObjectReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetReference(ObjectReference)
.- Parameters:
targetReference
- a consumer that will call methods onObjectReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AttachToIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AttachToIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-