Struct aws_sdk_clouddirectory::model::batch_write_operation::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for BatchWriteOperation
Implementations
sourceimpl Builder
impl Builder
sourcepub fn create_object(self, input: BatchCreateObject) -> Self
pub fn create_object(self, input: BatchCreateObject) -> Self
Creates an object.
sourcepub fn set_create_object(self, input: Option<BatchCreateObject>) -> Self
pub fn set_create_object(self, input: Option<BatchCreateObject>) -> Self
Creates an object.
sourcepub fn attach_object(self, input: BatchAttachObject) -> Self
pub fn attach_object(self, input: BatchAttachObject) -> Self
Attaches an object to a Directory
.
sourcepub fn set_attach_object(self, input: Option<BatchAttachObject>) -> Self
pub fn set_attach_object(self, input: Option<BatchAttachObject>) -> Self
Attaches an object to a Directory
.
sourcepub fn detach_object(self, input: BatchDetachObject) -> Self
pub fn detach_object(self, input: BatchDetachObject) -> Self
Detaches an object from a Directory
.
sourcepub fn set_detach_object(self, input: Option<BatchDetachObject>) -> Self
pub fn set_detach_object(self, input: Option<BatchDetachObject>) -> Self
Detaches an object from a Directory
.
sourcepub fn update_object_attributes(
self,
input: BatchUpdateObjectAttributes
) -> Self
pub fn update_object_attributes(
self,
input: BatchUpdateObjectAttributes
) -> Self
Updates a given object's attributes.
sourcepub fn set_update_object_attributes(
self,
input: Option<BatchUpdateObjectAttributes>
) -> Self
pub fn set_update_object_attributes(
self,
input: Option<BatchUpdateObjectAttributes>
) -> Self
Updates a given object's attributes.
sourcepub fn delete_object(self, input: BatchDeleteObject) -> Self
pub fn delete_object(self, input: BatchDeleteObject) -> Self
Deletes an object in a Directory
.
sourcepub fn set_delete_object(self, input: Option<BatchDeleteObject>) -> Self
pub fn set_delete_object(self, input: Option<BatchDeleteObject>) -> Self
Deletes an object in a Directory
.
sourcepub fn add_facet_to_object(self, input: BatchAddFacetToObject) -> Self
pub fn add_facet_to_object(self, input: BatchAddFacetToObject) -> Self
A batch operation that adds a facet to an object.
sourcepub fn set_add_facet_to_object(
self,
input: Option<BatchAddFacetToObject>
) -> Self
pub fn set_add_facet_to_object(
self,
input: Option<BatchAddFacetToObject>
) -> Self
A batch operation that adds a facet to an object.
sourcepub fn remove_facet_from_object(self, input: BatchRemoveFacetFromObject) -> Self
pub fn remove_facet_from_object(self, input: BatchRemoveFacetFromObject) -> Self
A batch operation that removes a facet from an object.
sourcepub fn set_remove_facet_from_object(
self,
input: Option<BatchRemoveFacetFromObject>
) -> Self
pub fn set_remove_facet_from_object(
self,
input: Option<BatchRemoveFacetFromObject>
) -> Self
A batch operation that removes a facet from an object.
sourcepub fn attach_policy(self, input: BatchAttachPolicy) -> Self
pub fn attach_policy(self, input: BatchAttachPolicy) -> Self
Attaches a policy object to a regular object. An object can have a limited number of attached policies.
sourcepub fn set_attach_policy(self, input: Option<BatchAttachPolicy>) -> Self
pub fn set_attach_policy(self, input: Option<BatchAttachPolicy>) -> Self
Attaches a policy object to a regular object. An object can have a limited number of attached policies.
sourcepub fn detach_policy(self, input: BatchDetachPolicy) -> Self
pub fn detach_policy(self, input: BatchDetachPolicy) -> Self
Detaches a policy from a Directory
.
sourcepub fn set_detach_policy(self, input: Option<BatchDetachPolicy>) -> Self
pub fn set_detach_policy(self, input: Option<BatchDetachPolicy>) -> Self
Detaches a policy from a Directory
.
sourcepub fn create_index(self, input: BatchCreateIndex) -> Self
pub fn create_index(self, input: BatchCreateIndex) -> Self
Creates an index object. See Indexing and search for more information.
sourcepub fn set_create_index(self, input: Option<BatchCreateIndex>) -> Self
pub fn set_create_index(self, input: Option<BatchCreateIndex>) -> Self
Creates an index object. See Indexing and search for more information.
sourcepub fn attach_to_index(self, input: BatchAttachToIndex) -> Self
pub fn attach_to_index(self, input: BatchAttachToIndex) -> Self
Attaches the specified object to the specified index.
sourcepub fn set_attach_to_index(self, input: Option<BatchAttachToIndex>) -> Self
pub fn set_attach_to_index(self, input: Option<BatchAttachToIndex>) -> Self
Attaches the specified object to the specified index.
sourcepub fn detach_from_index(self, input: BatchDetachFromIndex) -> Self
pub fn detach_from_index(self, input: BatchDetachFromIndex) -> Self
Detaches the specified object from the specified index.
sourcepub fn set_detach_from_index(self, input: Option<BatchDetachFromIndex>) -> Self
pub fn set_detach_from_index(self, input: Option<BatchDetachFromIndex>) -> Self
Detaches the specified object from the specified index.
sourcepub fn attach_typed_link(self, input: BatchAttachTypedLink) -> Self
pub fn attach_typed_link(self, input: BatchAttachTypedLink) -> Self
Attaches a typed link to a specified source and target object. For more information, see Typed Links.
sourcepub fn set_attach_typed_link(self, input: Option<BatchAttachTypedLink>) -> Self
pub fn set_attach_typed_link(self, input: Option<BatchAttachTypedLink>) -> Self
Attaches a typed link to a specified source and target object. For more information, see Typed Links.
sourcepub fn detach_typed_link(self, input: BatchDetachTypedLink) -> Self
pub fn detach_typed_link(self, input: BatchDetachTypedLink) -> Self
Detaches a typed link from a specified source and target object. For more information, see Typed Links.
sourcepub fn set_detach_typed_link(self, input: Option<BatchDetachTypedLink>) -> Self
pub fn set_detach_typed_link(self, input: Option<BatchDetachTypedLink>) -> Self
Detaches a typed link from a specified source and target object. For more information, see Typed Links.
sourcepub fn update_link_attributes(self, input: BatchUpdateLinkAttributes) -> Self
pub fn update_link_attributes(self, input: BatchUpdateLinkAttributes) -> Self
Updates a given object's attributes.
sourcepub fn set_update_link_attributes(
self,
input: Option<BatchUpdateLinkAttributes>
) -> Self
pub fn set_update_link_attributes(
self,
input: Option<BatchUpdateLinkAttributes>
) -> Self
Updates a given object's attributes.
sourcepub fn build(self) -> BatchWriteOperation
pub fn build(self) -> BatchWriteOperation
Consumes the builder and constructs a BatchWriteOperation
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more