#[non_exhaustive]pub struct CreateIndexInputBuilder { /* private fields */ }Expand description
A builder for CreateIndexInput.
Implementations§
source§impl CreateIndexInputBuilder
impl CreateIndexInputBuilder
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.
This field is required.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 ordered_indexed_attribute_list.
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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateIndexInput, BuildError>
pub fn build(self) -> Result<CreateIndexInput, BuildError>
Consumes the builder and constructs a CreateIndexInput.
source§impl CreateIndexInputBuilder
impl CreateIndexInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateIndexOutput, SdkError<CreateIndexError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateIndexOutput, SdkError<CreateIndexError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateIndexInputBuilder
impl Clone for CreateIndexInputBuilder
source§fn clone(&self) -> CreateIndexInputBuilder
fn clone(&self) -> CreateIndexInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateIndexInputBuilder
impl Debug for CreateIndexInputBuilder
source§impl Default for CreateIndexInputBuilder
impl Default for CreateIndexInputBuilder
source§fn default() -> CreateIndexInputBuilder
fn default() -> CreateIndexInputBuilder
source§impl PartialEq for CreateIndexInputBuilder
impl PartialEq for CreateIndexInputBuilder
source§fn eq(&self, other: &CreateIndexInputBuilder) -> bool
fn eq(&self, other: &CreateIndexInputBuilder) -> bool
self and other values to be equal, and is used
by ==.