public static interface BatchAttachToIndex.Builder extends CopyableBuilder<BatchAttachToIndex.Builder,BatchAttachToIndex>
Modifier and Type | Method and Description |
---|---|
default BatchAttachToIndex.Builder |
indexReference(Consumer<ObjectReference.Builder> indexReference)
A reference to the index that you are attaching the object to.
|
BatchAttachToIndex.Builder |
indexReference(ObjectReference indexReference)
A reference to the index that you are attaching the object to.
|
default BatchAttachToIndex.Builder |
targetReference(Consumer<ObjectReference.Builder> targetReference)
A reference to the object that you are attaching to the index.
|
BatchAttachToIndex.Builder |
targetReference(ObjectReference targetReference)
A reference to the object that you are attaching to the index.
|
copy
apply, build
BatchAttachToIndex.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 BatchAttachToIndex.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)
BatchAttachToIndex.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 BatchAttachToIndex.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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.