Struct aws_sdk_clouddirectory::operation::get_object_attributes::builders::GetObjectAttributesInputBuilder
source · #[non_exhaustive]pub struct GetObjectAttributesInputBuilder { /* private fields */ }Expand description
A builder for GetObjectAttributesInput.
Implementations§
source§impl GetObjectAttributesInputBuilder
impl GetObjectAttributesInputBuilder
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.
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.
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.
sourcepub fn object_reference(self, input: ObjectReference) -> Self
pub fn object_reference(self, input: ObjectReference) -> Self
Reference that identifies the object whose attributes will be retrieved.
This field is required.sourcepub fn set_object_reference(self, input: Option<ObjectReference>) -> Self
pub fn set_object_reference(self, input: Option<ObjectReference>) -> Self
Reference that identifies the object whose attributes will be retrieved.
sourcepub fn get_object_reference(&self) -> &Option<ObjectReference>
pub fn get_object_reference(&self) -> &Option<ObjectReference>
Reference that identifies the object whose attributes will be retrieved.
sourcepub fn consistency_level(self, input: ConsistencyLevel) -> Self
pub fn consistency_level(self, input: ConsistencyLevel) -> Self
The consistency level at which to retrieve the attributes on an object.
sourcepub fn set_consistency_level(self, input: Option<ConsistencyLevel>) -> Self
pub fn set_consistency_level(self, input: Option<ConsistencyLevel>) -> Self
The consistency level at which to retrieve the attributes on an object.
sourcepub fn get_consistency_level(&self) -> &Option<ConsistencyLevel>
pub fn get_consistency_level(&self) -> &Option<ConsistencyLevel>
The consistency level at which to retrieve the attributes on an object.
sourcepub fn schema_facet(self, input: SchemaFacet) -> Self
pub fn schema_facet(self, input: SchemaFacet) -> Self
Identifier for the facet whose attributes will be retrieved. See SchemaFacet for details.
sourcepub fn set_schema_facet(self, input: Option<SchemaFacet>) -> Self
pub fn set_schema_facet(self, input: Option<SchemaFacet>) -> Self
Identifier for the facet whose attributes will be retrieved. See SchemaFacet for details.
sourcepub fn get_schema_facet(&self) -> &Option<SchemaFacet>
pub fn get_schema_facet(&self) -> &Option<SchemaFacet>
Identifier for the facet whose attributes will be retrieved. See SchemaFacet for details.
sourcepub fn attribute_names(self, input: impl Into<String>) -> Self
pub fn attribute_names(self, input: impl Into<String>) -> Self
Appends an item to attribute_names.
To override the contents of this collection use set_attribute_names.
List of attribute names whose values will be retrieved.
sourcepub fn set_attribute_names(self, input: Option<Vec<String>>) -> Self
pub fn set_attribute_names(self, input: Option<Vec<String>>) -> Self
List of attribute names whose values will be retrieved.
sourcepub fn get_attribute_names(&self) -> &Option<Vec<String>>
pub fn get_attribute_names(&self) -> &Option<Vec<String>>
List of attribute names whose values will be retrieved.
sourcepub fn build(self) -> Result<GetObjectAttributesInput, BuildError>
pub fn build(self) -> Result<GetObjectAttributesInput, BuildError>
Consumes the builder and constructs a GetObjectAttributesInput.
source§impl GetObjectAttributesInputBuilder
impl GetObjectAttributesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetObjectAttributesOutput, SdkError<GetObjectAttributesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetObjectAttributesOutput, SdkError<GetObjectAttributesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetObjectAttributesInputBuilder
impl Clone for GetObjectAttributesInputBuilder
source§fn clone(&self) -> GetObjectAttributesInputBuilder
fn clone(&self) -> GetObjectAttributesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetObjectAttributesInputBuilder
impl Default for GetObjectAttributesInputBuilder
source§fn default() -> GetObjectAttributesInputBuilder
fn default() -> GetObjectAttributesInputBuilder
source§impl PartialEq for GetObjectAttributesInputBuilder
impl PartialEq for GetObjectAttributesInputBuilder
source§fn eq(&self, other: &GetObjectAttributesInputBuilder) -> bool
fn eq(&self, other: &GetObjectAttributesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.