Interface CreateIndexRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<CreateIndexRequest.Builder,CreateIndexRequest>,SdkBuilder<CreateIndexRequest.Builder,CreateIndexRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateIndexRequest
public static interface CreateIndexRequest.Builder extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<CreateIndexRequest.Builder,CreateIndexRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateIndexRequest.BuilderdirectoryArn(String directoryArn)The ARN of the directory where the index should be created.CreateIndexRequest.BuilderisUnique(Boolean isUnique)Indicates whether the attribute that is being indexed has unique values or not.CreateIndexRequest.BuilderlinkName(String linkName)The name of the link between the parent object and the index object.CreateIndexRequest.BuilderorderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList)Specifies the attributes that should be indexed on.CreateIndexRequest.BuilderorderedIndexedAttributeList(Consumer<AttributeKey.Builder>... orderedIndexedAttributeList)Specifies the attributes that should be indexed on.CreateIndexRequest.BuilderorderedIndexedAttributeList(AttributeKey... orderedIndexedAttributeList)Specifies the attributes that should be indexed on.CreateIndexRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateIndexRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateIndexRequest.BuilderparentReference(Consumer<ObjectReference.Builder> parentReference)A reference to the parent object that contains the index object.CreateIndexRequest.BuilderparentReference(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 Detail
-
directoryArn
CreateIndexRequest.Builder directoryArn(String 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
CreateIndexRequest.Builder orderedIndexedAttributeList(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
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.Builderavoiding the need to create one manually viaAttributeKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#orderedIndexedAttributeList(List.) - 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:
#orderedIndexedAttributeList(java.util.Collection)
-
isUnique
CreateIndexRequest.Builder isUnique(Boolean 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
CreateIndexRequest.Builder parentReference(ObjectReference 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.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,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:
parentReference(ObjectReference)
-
linkName
CreateIndexRequest.Builder linkName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-