public static interface CreateIndexRequest.Builder extends CloudDirectoryRequest.Builder, CopyableBuilder<CreateIndexRequest.Builder,CreateIndexRequest>
| Modifier and Type | Method and 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(AttributeKey... orderedIndexedAttributeList)
Specifies the attributes that should be indexed on.
|
CreateIndexRequest.Builder |
orderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList)
Specifies the attributes that should be indexed on.
|
CreateIndexRequest.Builder |
orderedIndexedAttributeList(Consumer<AttributeKey.Builder>... orderedIndexedAttributeList)
Specifies the attributes that should be indexed on.
|
default CreateIndexRequest.Builder |
parentReference(Consumer<ObjectReference.Builder> parentReference)
A reference to the parent object that contains the index object.
|
CreateIndexRequest.Builder |
parentReference(ObjectReference parentReference)
A reference to the parent object that contains the index object.
|
CreateIndexRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateIndexRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildCreateIndexRequest.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.
orderedIndexedAttributeList - Specifies the attributes that should be indexed on. Currently only a single attribute is supported.CreateIndexRequest.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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #orderedIndexedAttributeList(List) .orderedIndexedAttributeList - a consumer that will call methods on List.Builder #orderedIndexedAttributeList(List) 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.default CreateIndexRequest.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.BuilderparentReference(ObjectReference)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.CreateIndexRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateIndexRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.