pub struct CreateIndexFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateIndex.
Creates an index object. See Indexing and search for more information.
Implementations§
source§impl CreateIndexFluentBuilder
impl CreateIndexFluentBuilder
sourcepub fn as_input(&self) -> &CreateIndexInputBuilder
pub fn as_input(&self) -> &CreateIndexInputBuilder
Access the CreateIndex as a reference.
sourcepub async fn send(
self
) -> Result<CreateIndexOutput, SdkError<CreateIndexError, HttpResponse>>
pub async fn send( self ) -> Result<CreateIndexOutput, SdkError<CreateIndexError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateIndexOutput, CreateIndexError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateIndexOutput, CreateIndexError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn directory_arn(self, input: impl Into<String>) -> Self
pub fn directory_arn(self, input: impl Into<String>) -> Self
The ARN of the directory where the index should be created.
sourcepub fn set_directory_arn(self, input: Option<String>) -> Self
pub fn set_directory_arn(self, input: Option<String>) -> Self
The ARN of the directory where the index should be created.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
The ARN of the directory where the index should be created.
sourcepub fn ordered_indexed_attribute_list(self, input: AttributeKey) -> Self
pub fn ordered_indexed_attribute_list(self, input: AttributeKey) -> Self
Appends an item to OrderedIndexedAttributeList.
To override the contents of this collection use set_ordered_indexed_attribute_list.
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
sourcepub fn set_ordered_indexed_attribute_list(
self,
input: Option<Vec<AttributeKey>>
) -> Self
pub fn set_ordered_indexed_attribute_list( self, input: Option<Vec<AttributeKey>> ) -> Self
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
sourcepub fn get_ordered_indexed_attribute_list(&self) -> &Option<Vec<AttributeKey>>
pub fn get_ordered_indexed_attribute_list(&self) -> &Option<Vec<AttributeKey>>
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
sourcepub fn is_unique(self, input: bool) -> Self
pub fn is_unique(self, input: bool) -> Self
Indicates whether the attribute that is being indexed has unique values or not.
sourcepub fn set_is_unique(self, input: Option<bool>) -> Self
pub fn set_is_unique(self, input: Option<bool>) -> Self
Indicates whether the attribute that is being indexed has unique values or not.
sourcepub fn get_is_unique(&self) -> &Option<bool>
pub fn get_is_unique(&self) -> &Option<bool>
Indicates whether the attribute that is being indexed has unique values or not.
sourcepub fn parent_reference(self, input: ObjectReference) -> Self
pub fn parent_reference(self, input: ObjectReference) -> Self
A reference to the parent object that contains the index object.
sourcepub fn set_parent_reference(self, input: Option<ObjectReference>) -> Self
pub fn set_parent_reference(self, input: Option<ObjectReference>) -> Self
A reference to the parent object that contains the index object.
sourcepub fn get_parent_reference(&self) -> &Option<ObjectReference>
pub fn get_parent_reference(&self) -> &Option<ObjectReference>
A reference to the parent object that contains the index object.
sourcepub fn link_name(self, input: impl Into<String>) -> Self
pub fn link_name(self, input: impl Into<String>) -> Self
The name of the link between the parent object and the index object.
sourcepub fn set_link_name(self, input: Option<String>) -> Self
pub fn set_link_name(self, input: Option<String>) -> Self
The name of the link between the parent object and the index object.
sourcepub fn get_link_name(&self) -> &Option<String>
pub fn get_link_name(&self) -> &Option<String>
The name of the link between the parent object and the index object.
Trait Implementations§
source§impl Clone for CreateIndexFluentBuilder
impl Clone for CreateIndexFluentBuilder
source§fn clone(&self) -> CreateIndexFluentBuilder
fn clone(&self) -> CreateIndexFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more