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