Struct aws_sdk_clouddirectory::operation::attach_object::builders::AttachObjectFluentBuilder
source · pub struct AttachObjectFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to AttachObject.
Attaches an existing object to another object. An object can be accessed in two ways:
-
Using the path
-
Using
ObjectIdentifier
Implementations§
source§impl AttachObjectFluentBuilder
impl AttachObjectFluentBuilder
sourcepub fn as_input(&self) -> &AttachObjectInputBuilder
pub fn as_input(&self) -> &AttachObjectInputBuilder
Access the AttachObject as a reference.
sourcepub async fn send(
self
) -> Result<AttachObjectOutput, SdkError<AttachObjectError, HttpResponse>>
pub async fn send( self ) -> Result<AttachObjectOutput, SdkError<AttachObjectError, 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<AttachObjectOutput, AttachObjectError, Self>
pub fn customize( self ) -> CustomizableOperation<AttachObjectOutput, AttachObjectError, 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
Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.
sourcepub fn set_directory_arn(self, input: Option<String>) -> Self
pub fn set_directory_arn(self, input: Option<String>) -> Self
Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.
sourcepub fn parent_reference(self, input: ObjectReference) -> Self
pub fn parent_reference(self, input: ObjectReference) -> Self
The parent object reference.
sourcepub fn set_parent_reference(self, input: Option<ObjectReference>) -> Self
pub fn set_parent_reference(self, input: Option<ObjectReference>) -> Self
The parent object reference.
sourcepub fn get_parent_reference(&self) -> &Option<ObjectReference>
pub fn get_parent_reference(&self) -> &Option<ObjectReference>
The parent object reference.
sourcepub fn child_reference(self, input: ObjectReference) -> Self
pub fn child_reference(self, input: ObjectReference) -> Self
The child object reference to be attached to the object.
sourcepub fn set_child_reference(self, input: Option<ObjectReference>) -> Self
pub fn set_child_reference(self, input: Option<ObjectReference>) -> Self
The child object reference to be attached to the object.
sourcepub fn get_child_reference(&self) -> &Option<ObjectReference>
pub fn get_child_reference(&self) -> &Option<ObjectReference>
The child object reference to be attached to the object.
sourcepub fn link_name(self, input: impl Into<String>) -> Self
pub fn link_name(self, input: impl Into<String>) -> Self
The link name with which the child object is attached to the parent.
sourcepub fn set_link_name(self, input: Option<String>) -> Self
pub fn set_link_name(self, input: Option<String>) -> Self
The link name with which the child object is attached to the parent.
sourcepub fn get_link_name(&self) -> &Option<String>
pub fn get_link_name(&self) -> &Option<String>
The link name with which the child object is attached to the parent.
Trait Implementations§
source§impl Clone for AttachObjectFluentBuilder
impl Clone for AttachObjectFluentBuilder
source§fn clone(&self) -> AttachObjectFluentBuilder
fn clone(&self) -> AttachObjectFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more