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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
AttachToIndexRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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.
|
buildrequestOverrideConfigcopyapply, buildAttachToIndexRequest.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.BuilderindexReference(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.BuildertargetReference(ObjectReference)AttachToIndexRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.AttachToIndexRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.