public static interface BatchCreateIndex.Builder extends CopyableBuilder<BatchCreateIndex.Builder,BatchCreateIndex>
Modifier and Type | Method and Description |
---|---|
BatchCreateIndex.Builder |
batchReferenceName(String batchReferenceName)
The batch reference name.
|
BatchCreateIndex.Builder |
isUnique(Boolean isUnique)
Indicates whether the attribute that is being indexed has unique values or not.
|
BatchCreateIndex.Builder |
linkName(String linkName)
The name of the link between the parent object and the index object.
|
BatchCreateIndex.Builder |
orderedIndexedAttributeList(AttributeKey... orderedIndexedAttributeList)
Specifies the attributes that should be indexed on.
|
BatchCreateIndex.Builder |
orderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList)
Specifies the attributes that should be indexed on.
|
default BatchCreateIndex.Builder |
parentReference(Consumer<ObjectReference.Builder> parentReference)
A reference to the parent object that contains the index object.
|
BatchCreateIndex.Builder |
parentReference(ObjectReference parentReference)
A reference to the parent object that contains the index object.
|
copy
apply, build
BatchCreateIndex.Builder orderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList)
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
orderedIndexedAttributeList
- Specifies the attributes that should be indexed on. Currently only a single attribute is supported.BatchCreateIndex.Builder orderedIndexedAttributeList(AttributeKey... orderedIndexedAttributeList)
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
orderedIndexedAttributeList
- Specifies the attributes that should be indexed on. Currently only a single attribute is supported.BatchCreateIndex.Builder isUnique(Boolean isUnique)
Indicates whether the attribute that is being indexed has unique values or not.
isUnique
- Indicates whether the attribute that is being indexed has unique values or not.BatchCreateIndex.Builder parentReference(ObjectReference parentReference)
A reference to the parent object that contains the index object.
parentReference
- A reference to the parent object that contains the index object.default BatchCreateIndex.Builder parentReference(Consumer<ObjectReference.Builder> parentReference)
A reference to the parent object that contains the index object.
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 parentReference(ObjectReference)
.parentReference
- a consumer that will call methods on ObjectReference.Builder
parentReference(ObjectReference)
BatchCreateIndex.Builder linkName(String linkName)
The name of the link between the parent object and the index object.
linkName
- The name of the link between the parent object and the index object.BatchCreateIndex.Builder batchReferenceName(String batchReferenceName)
The batch reference name. See Batches for more information.
batchReferenceName
- The batch reference name. See Batches for more information.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.