#[non_exhaustive]pub struct CreateIndexInput {
pub directory_arn: Option<String>,
pub ordered_indexed_attribute_list: Option<Vec<AttributeKey>>,
pub is_unique: Option<bool>,
pub parent_reference: Option<ObjectReference>,
pub link_name: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.directory_arn: Option<String>The ARN of the directory where the index should be created.
ordered_indexed_attribute_list: Option<Vec<AttributeKey>>Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
is_unique: Option<bool>Indicates whether the attribute that is being indexed has unique values or not.
parent_reference: Option<ObjectReference>A reference to the parent object that contains the index object.
link_name: Option<String>The name of the link between the parent object and the index object.
Implementations§
source§impl CreateIndexInput
impl CreateIndexInput
sourcepub fn directory_arn(&self) -> Option<&str>
pub fn directory_arn(&self) -> Option<&str>
The ARN of the directory where the index should be created.
sourcepub fn ordered_indexed_attribute_list(&self) -> &[AttributeKey]
pub fn ordered_indexed_attribute_list(&self) -> &[AttributeKey]
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ordered_indexed_attribute_list.is_none().
sourcepub fn is_unique(&self) -> Option<bool>
pub fn is_unique(&self) -> Option<bool>
Indicates whether the attribute that is being indexed has unique values or not.
sourcepub fn parent_reference(&self) -> Option<&ObjectReference>
pub fn parent_reference(&self) -> Option<&ObjectReference>
A reference to the parent object that contains the index object.
source§impl CreateIndexInput
impl CreateIndexInput
sourcepub fn builder() -> CreateIndexInputBuilder
pub fn builder() -> CreateIndexInputBuilder
Creates a new builder-style object to manufacture CreateIndexInput.
Trait Implementations§
source§impl Clone for CreateIndexInput
impl Clone for CreateIndexInput
source§fn clone(&self) -> CreateIndexInput
fn clone(&self) -> CreateIndexInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateIndexInput
impl Debug for CreateIndexInput
source§impl PartialEq for CreateIndexInput
impl PartialEq for CreateIndexInput
source§fn eq(&self, other: &CreateIndexInput) -> bool
fn eq(&self, other: &CreateIndexInput) -> bool
self and other values to be equal, and is used
by ==.