Interface BatchCreateIndex.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchCreateIndex.Builder,BatchCreateIndex>,SdkBuilder<BatchCreateIndex.Builder,BatchCreateIndex>,SdkPojo
- Enclosing class:
- BatchCreateIndex
public static interface BatchCreateIndex.Builder extends SdkPojo, CopyableBuilder<BatchCreateIndex.Builder,BatchCreateIndex>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchCreateIndex.BuilderbatchReferenceName(String batchReferenceName)The batch reference name.BatchCreateIndex.BuilderisUnique(Boolean isUnique)Indicates whether the attribute that is being indexed has unique values or not.BatchCreateIndex.BuilderlinkName(String linkName)The name of the link between the parent object and the index object.BatchCreateIndex.BuilderorderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList)Specifies the attributes that should be indexed on.BatchCreateIndex.BuilderorderedIndexedAttributeList(Consumer<AttributeKey.Builder>... orderedIndexedAttributeList)Specifies the attributes that should be indexed on.BatchCreateIndex.BuilderorderedIndexedAttributeList(AttributeKey... orderedIndexedAttributeList)Specifies the attributes that should be indexed on.default BatchCreateIndex.BuilderparentReference(Consumer<ObjectReference.Builder> parentReference)A reference to the parent object that contains the index object.BatchCreateIndex.BuilderparentReference(ObjectReference parentReference)A reference to the parent object that contains the index object.-
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 Detail
-
orderedIndexedAttributeList
BatchCreateIndex.Builder orderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList)
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
- Parameters:
orderedIndexedAttributeList- Specifies the attributes that should be indexed on. Currently only a single attribute is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderedIndexedAttributeList
BatchCreateIndex.Builder orderedIndexedAttributeList(AttributeKey... orderedIndexedAttributeList)
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
- Parameters:
orderedIndexedAttributeList- Specifies the attributes that should be indexed on. Currently only a single attribute is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderedIndexedAttributeList
BatchCreateIndex.Builder orderedIndexedAttributeList(Consumer<AttributeKey.Builder>... orderedIndexedAttributeList)
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
This is a convenience method that creates an instance of theAttributeKey.Builderavoiding the need to create one manually viaAttributeKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#orderedIndexedAttributeList(List.) - Parameters:
orderedIndexedAttributeList- a consumer that will call methods onAttributeKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#orderedIndexedAttributeList(java.util.Collection)
-
isUnique
BatchCreateIndex.Builder isUnique(Boolean isUnique)
Indicates whether the attribute that is being indexed has unique values or not.
- Parameters:
isUnique- Indicates whether the attribute that is being indexed has unique values or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentReference
BatchCreateIndex.Builder parentReference(ObjectReference parentReference)
A reference to the parent object that contains the index object.
- Parameters:
parentReference- A reference to the parent object that contains the index object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentReference
default BatchCreateIndex.Builder parentReference(Consumer<ObjectReference.Builder> parentReference)
A reference to the parent object that contains the index object.
This is a convenience method that creates an instance of theObjectReference.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparentReference(ObjectReference).- Parameters:
parentReference- 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:
parentReference(ObjectReference)
-
linkName
BatchCreateIndex.Builder linkName(String linkName)
The name of the link between the parent object and the index object.
- Parameters:
linkName- The name of the link between the parent object and the index object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchReferenceName
BatchCreateIndex.Builder batchReferenceName(String batchReferenceName)
The batch reference name. See Transaction Support for more information.
- Parameters:
batchReferenceName- The batch reference name. See Transaction Support for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-