Struct aws_sdk_clouddirectory::operation::update_link_attributes::builders::UpdateLinkAttributesFluentBuilder
source · pub struct UpdateLinkAttributesFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateLinkAttributes.
Updates a given typed link’s attributes. Attributes to be updated must not contribute to the typed link’s identity, as defined by its IdentityAttributeOrder.
Implementations§
source§impl UpdateLinkAttributesFluentBuilder
impl UpdateLinkAttributesFluentBuilder
sourcepub fn as_input(&self) -> &UpdateLinkAttributesInputBuilder
pub fn as_input(&self) -> &UpdateLinkAttributesInputBuilder
Access the UpdateLinkAttributes as a reference.
sourcepub async fn send(
self
) -> Result<UpdateLinkAttributesOutput, SdkError<UpdateLinkAttributesError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateLinkAttributesOutput, SdkError<UpdateLinkAttributesError, 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<UpdateLinkAttributesOutput, UpdateLinkAttributesError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateLinkAttributesOutput, UpdateLinkAttributesError, 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) 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.
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 AttributeUpdates.
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.
Trait Implementations§
source§impl Clone for UpdateLinkAttributesFluentBuilder
impl Clone for UpdateLinkAttributesFluentBuilder
source§fn clone(&self) -> UpdateLinkAttributesFluentBuilder
fn clone(&self) -> UpdateLinkAttributesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more