Struct aws_sdk_clouddirectory::operation::update_object_attributes::builders::UpdateObjectAttributesFluentBuilder
source · pub struct UpdateObjectAttributesFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateObjectAttributes.
Updates a given object's attributes.
Implementations§
source§impl UpdateObjectAttributesFluentBuilder
impl UpdateObjectAttributesFluentBuilder
sourcepub fn as_input(&self) -> &UpdateObjectAttributesInputBuilder
pub fn as_input(&self) -> &UpdateObjectAttributesInputBuilder
Access the UpdateObjectAttributes as a reference.
sourcepub async fn send(
self
) -> Result<UpdateObjectAttributesOutput, SdkError<UpdateObjectAttributesError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateObjectAttributesOutput, SdkError<UpdateObjectAttributesError, 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<UpdateObjectAttributesOutput, UpdateObjectAttributesError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateObjectAttributesOutput, UpdateObjectAttributesError, 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 object resides. 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
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.
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 object resides. For more information, see arns.
sourcepub fn object_reference(self, input: ObjectReference) -> Self
pub fn object_reference(self, input: ObjectReference) -> Self
The reference that identifies the object.
sourcepub fn set_object_reference(self, input: Option<ObjectReference>) -> Self
pub fn set_object_reference(self, input: Option<ObjectReference>) -> Self
The reference that identifies the object.
sourcepub fn get_object_reference(&self) -> &Option<ObjectReference>
pub fn get_object_reference(&self) -> &Option<ObjectReference>
The reference that identifies the object.
sourcepub fn attribute_updates(self, input: ObjectAttributeUpdate) -> Self
pub fn attribute_updates(self, input: ObjectAttributeUpdate) -> 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<ObjectAttributeUpdate>>
) -> Self
pub fn set_attribute_updates( self, input: Option<Vec<ObjectAttributeUpdate>> ) -> Self
The attributes update structure.
sourcepub fn get_attribute_updates(&self) -> &Option<Vec<ObjectAttributeUpdate>>
pub fn get_attribute_updates(&self) -> &Option<Vec<ObjectAttributeUpdate>>
The attributes update structure.
Trait Implementations§
source§impl Clone for UpdateObjectAttributesFluentBuilder
impl Clone for UpdateObjectAttributesFluentBuilder
source§fn clone(&self) -> UpdateObjectAttributesFluentBuilder
fn clone(&self) -> UpdateObjectAttributesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more