CopyableBuilder<CreateIndexRequest.Builder,CreateIndexRequest>
, SdkBuilder<CreateIndexRequest.Builder,CreateIndexRequest>
public static interface CreateIndexRequest.Builder extends CopyableBuilder<CreateIndexRequest.Builder,CreateIndexRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateIndexRequest.Builder |
directoryArn(String directoryArn) |
The ARN of the directory where the index should be created.
|
CreateIndexRequest.Builder |
isUnique(Boolean isUnique) |
Indicates whether the attribute that is being indexed has unique values or not.
|
CreateIndexRequest.Builder |
linkName(String linkName) |
The name of the link between the parent object and the index object.
|
CreateIndexRequest.Builder |
orderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList) |
Specifies the attributes that should be indexed on.
|
CreateIndexRequest.Builder |
orderedIndexedAttributeList(AttributeKey... orderedIndexedAttributeList) |
Specifies the attributes that should be indexed on.
|
CreateIndexRequest.Builder |
parentReference(ObjectReference parentReference) |
A reference to the parent object that contains the index object.
|
copy
apply, build
CreateIndexRequest.Builder directoryArn(String directoryArn)
The ARN of the directory where the index should be created.
directoryArn
- The ARN of the directory where the index should be created.CreateIndexRequest.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.CreateIndexRequest.Builder orderedIndexedAttributeList(AttributeKey... orderedIndexedAttributeList)
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
NOTE: This method appends the values to the existing list (if any). Use
#setOrderedIndexedAttributeList(java.util.Collection)
or
#withOrderedIndexedAttributeList(java.util.Collection)
if you want to override the existing values.
orderedIndexedAttributeList
- Specifies the attributes that should be indexed on. Currently only a single attribute is supported.CreateIndexRequest.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.CreateIndexRequest.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.CreateIndexRequest.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.