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.
|
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.
|
build
requestOverrideConfig, requestOverrideConfig
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.
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.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.Builder
parentReference(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.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.