Interface BatchAttachToIndex.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchAttachToIndex.Builder,
,BatchAttachToIndex> SdkBuilder<BatchAttachToIndex.Builder,
,BatchAttachToIndex> SdkPojo
- Enclosing class:
BatchAttachToIndex
@Mutable
@NotThreadSafe
public static interface BatchAttachToIndex.Builder
extends SdkPojo, CopyableBuilder<BatchAttachToIndex.Builder,BatchAttachToIndex>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchAttachToIndex.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.default BatchAttachToIndex.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.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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 BatchAttachToIndex.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:
-