Struct aws_sdk_clouddirectory::operation::attach_to_index::builders::AttachToIndexInputBuilder
source · #[non_exhaustive]pub struct AttachToIndexInputBuilder { /* private fields */ }Expand description
A builder for AttachToIndexInput.
Implementations§
source§impl AttachToIndexInputBuilder
impl AttachToIndexInputBuilder
sourcepub fn directory_arn(self, input: impl Into<String>) -> Self
pub fn directory_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the directory where the object and index exist.
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 Amazon Resource Name (ARN) of the directory where the object and index exist.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the directory where the object and index exist.
sourcepub fn index_reference(self, input: ObjectReference) -> Self
pub fn index_reference(self, input: ObjectReference) -> Self
A reference to the index that you are attaching the object to.
This field is required.sourcepub fn set_index_reference(self, input: Option<ObjectReference>) -> Self
pub fn set_index_reference(self, input: Option<ObjectReference>) -> Self
A reference to the index that you are attaching the object to.
sourcepub fn get_index_reference(&self) -> &Option<ObjectReference>
pub fn get_index_reference(&self) -> &Option<ObjectReference>
A reference to the index that you are attaching the object to.
sourcepub fn target_reference(self, input: ObjectReference) -> Self
pub fn target_reference(self, input: ObjectReference) -> Self
A reference to the object that you are attaching to the index.
This field is required.sourcepub fn set_target_reference(self, input: Option<ObjectReference>) -> Self
pub fn set_target_reference(self, input: Option<ObjectReference>) -> Self
A reference to the object that you are attaching to the index.
sourcepub fn get_target_reference(&self) -> &Option<ObjectReference>
pub fn get_target_reference(&self) -> &Option<ObjectReference>
A reference to the object that you are attaching to the index.
sourcepub fn build(self) -> Result<AttachToIndexInput, BuildError>
pub fn build(self) -> Result<AttachToIndexInput, BuildError>
Consumes the builder and constructs a AttachToIndexInput.
source§impl AttachToIndexInputBuilder
impl AttachToIndexInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AttachToIndexOutput, SdkError<AttachToIndexError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AttachToIndexOutput, SdkError<AttachToIndexError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AttachToIndexInputBuilder
impl Clone for AttachToIndexInputBuilder
source§fn clone(&self) -> AttachToIndexInputBuilder
fn clone(&self) -> AttachToIndexInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AttachToIndexInputBuilder
impl Debug for AttachToIndexInputBuilder
source§impl Default for AttachToIndexInputBuilder
impl Default for AttachToIndexInputBuilder
source§fn default() -> AttachToIndexInputBuilder
fn default() -> AttachToIndexInputBuilder
source§impl PartialEq for AttachToIndexInputBuilder
impl PartialEq for AttachToIndexInputBuilder
source§fn eq(&self, other: &AttachToIndexInputBuilder) -> bool
fn eq(&self, other: &AttachToIndexInputBuilder) -> bool
self and other values to be equal, and is used
by ==.