public static interface AttachToIndexRequest.Builder extends CloudDirectoryRequest.Builder, CopyableBuilder<AttachToIndexRequest.Builder,AttachToIndexRequest>
Modifier and Type | Method and Description |
---|---|
AttachToIndexRequest.Builder |
directoryArn(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.
|
AttachToIndexRequest.Builder |
indexReference(ObjectReference indexReference)
A reference to the index that you are attaching the object to.
|
AttachToIndexRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AttachToIndexRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
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.
|
AttachToIndexRequest.Builder |
targetReference(ObjectReference targetReference)
A reference to the object that you are attaching to the index.
|
build
overrideConfiguration
copy
applyMutation, build
AttachToIndexRequest.Builder directoryArn(String directoryArn)
The Amazon Resource Name (ARN) of the directory where the object and index exist.
directoryArn
- The Amazon Resource Name (ARN) of the directory where the object and index exist.AttachToIndexRequest.Builder indexReference(ObjectReference indexReference)
A reference to the index that you are attaching the object to.
indexReference
- A reference to the index that you are attaching the object to.default AttachToIndexRequest.Builder indexReference(Consumer<ObjectReference.Builder> indexReference)
A reference to the index that you are attaching the object to.
This is a convenience that creates an instance of theObjectReference.Builder
avoiding the need to
create one manually via ObjectReference.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to indexReference(ObjectReference)
.indexReference
- a consumer that will call methods on ObjectReference.Builder
indexReference(ObjectReference)
AttachToIndexRequest.Builder targetReference(ObjectReference targetReference)
A reference to the object that you are attaching to the index.
targetReference
- A reference to the object that you are attaching to the index.default AttachToIndexRequest.Builder targetReference(Consumer<ObjectReference.Builder> targetReference)
A reference to the object that you are attaching to the index.
This is a convenience that creates an instance of theObjectReference.Builder
avoiding the need to
create one manually via ObjectReference.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to targetReference(ObjectReference)
.targetReference
- a consumer that will call methods on ObjectReference.Builder
targetReference(ObjectReference)
AttachToIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AttachToIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.