Struct aws_sdk_clouddirectory::operation::update_link_attributes::builders::UpdateLinkAttributesInputBuilder
source · #[non_exhaustive]pub struct UpdateLinkAttributesInputBuilder { /* private fields */ }Expand description
A builder for UpdateLinkAttributesInput.
Implementations§
source§impl UpdateLinkAttributesInputBuilder
impl UpdateLinkAttributesInputBuilder
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) that is associated with the Directory where the updated typed link resides. For more information, see arns or Typed Links.
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) that is associated with the Directory where the updated typed link resides. For more information, see arns or Typed Links.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that is associated with the Directory where the updated typed link resides. For more information, see arns or Typed Links.
sourcepub fn typed_link_specifier(self, input: TypedLinkSpecifier) -> Self
pub fn typed_link_specifier(self, input: TypedLinkSpecifier) -> Self
Allows a typed link specifier to be accepted as input.
This field is required.sourcepub fn set_typed_link_specifier(self, input: Option<TypedLinkSpecifier>) -> Self
pub fn set_typed_link_specifier(self, input: Option<TypedLinkSpecifier>) -> Self
Allows a typed link specifier to be accepted as input.
sourcepub fn get_typed_link_specifier(&self) -> &Option<TypedLinkSpecifier>
pub fn get_typed_link_specifier(&self) -> &Option<TypedLinkSpecifier>
Allows a typed link specifier to be accepted as input.
sourcepub fn attribute_updates(self, input: LinkAttributeUpdate) -> Self
pub fn attribute_updates(self, input: LinkAttributeUpdate) -> Self
Appends an item to attribute_updates.
To override the contents of this collection use set_attribute_updates.
The attributes update structure.
sourcepub fn set_attribute_updates(
self,
input: Option<Vec<LinkAttributeUpdate>>
) -> Self
pub fn set_attribute_updates( self, input: Option<Vec<LinkAttributeUpdate>> ) -> Self
The attributes update structure.
sourcepub fn get_attribute_updates(&self) -> &Option<Vec<LinkAttributeUpdate>>
pub fn get_attribute_updates(&self) -> &Option<Vec<LinkAttributeUpdate>>
The attributes update structure.
sourcepub fn build(self) -> Result<UpdateLinkAttributesInput, BuildError>
pub fn build(self) -> Result<UpdateLinkAttributesInput, BuildError>
Consumes the builder and constructs a UpdateLinkAttributesInput.
source§impl UpdateLinkAttributesInputBuilder
impl UpdateLinkAttributesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateLinkAttributesOutput, SdkError<UpdateLinkAttributesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateLinkAttributesOutput, SdkError<UpdateLinkAttributesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateLinkAttributesInputBuilder
impl Clone for UpdateLinkAttributesInputBuilder
source§fn clone(&self) -> UpdateLinkAttributesInputBuilder
fn clone(&self) -> UpdateLinkAttributesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateLinkAttributesInputBuilder
impl Default for UpdateLinkAttributesInputBuilder
source§fn default() -> UpdateLinkAttributesInputBuilder
fn default() -> UpdateLinkAttributesInputBuilder
source§impl PartialEq for UpdateLinkAttributesInputBuilder
impl PartialEq for UpdateLinkAttributesInputBuilder
source§fn eq(&self, other: &UpdateLinkAttributesInputBuilder) -> bool
fn eq(&self, other: &UpdateLinkAttributesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.