Interface CreateIndexRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<CreateIndexRequest.Builder,
,CreateIndexRequest> SdkBuilder<CreateIndexRequest.Builder,
,CreateIndexRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateIndexRequest
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryArn
(String directoryArn) The ARN of the directory where the index should be created.Indicates whether the attribute that is being indexed has unique values or not.The name of the link between the parent object and the index object.orderedIndexedAttributeList
(Collection<AttributeKey> orderedIndexedAttributeList) Specifies the attributes that should be indexed on.orderedIndexedAttributeList
(Consumer<AttributeKey.Builder>... orderedIndexedAttributeList) Specifies the attributes that should be indexed on.orderedIndexedAttributeList
(AttributeKey... orderedIndexedAttributeList) Specifies the attributes that should be indexed on.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateIndexRequest.Builder
parentReference
(Consumer<ObjectReference.Builder> parentReference) A reference to the parent object that contains the index object.parentReference
(ObjectReference parentReference) A reference to the parent object that contains the index object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
build
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 Details
-
directoryArn
The ARN of the directory where the index should be created.
- Parameters:
directoryArn
- The ARN of the directory where the index should be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderedIndexedAttributeList
CreateIndexRequest.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
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
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 method that creates an instance of theAttributeKey.Builder
avoiding the need to create one manually viaAttributeKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorderedIndexedAttributeList(List<AttributeKey>)
.- 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:
-
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
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 CreateIndexRequest.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.Builder
avoiding the need to create one manually viaObjectReference.builder()
.When the
Consumer
completes,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:
-
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.
-
overrideConfiguration
CreateIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-