Struct aws_sdk_clouddirectory::operation::attach_to_index::builders::AttachToIndexFluentBuilder
source · pub struct AttachToIndexFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to AttachToIndex.
Attaches the specified object to the specified index.
Implementations§
source§impl AttachToIndexFluentBuilder
impl AttachToIndexFluentBuilder
sourcepub fn as_input(&self) -> &AttachToIndexInputBuilder
pub fn as_input(&self) -> &AttachToIndexInputBuilder
Access the AttachToIndex as a reference.
sourcepub async fn send(
self
) -> Result<AttachToIndexOutput, SdkError<AttachToIndexError, HttpResponse>>
pub async fn send( self ) -> Result<AttachToIndexOutput, SdkError<AttachToIndexError, 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<AttachToIndexOutput, AttachToIndexError, Self>
pub fn customize( self ) -> CustomizableOperation<AttachToIndexOutput, AttachToIndexError, 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 Amazon Resource Name (ARN) of the directory where the object and index exist.
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.
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.
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.
Trait Implementations§
source§impl Clone for AttachToIndexFluentBuilder
impl Clone for AttachToIndexFluentBuilder
source§fn clone(&self) -> AttachToIndexFluentBuilder
fn clone(&self) -> AttachToIndexFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more