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