#[non_exhaustive]pub struct AttributeOperationBuilder { /* private fields */ }
Expand description
A builder for AttributeOperation
.
Implementations§
source§impl AttributeOperationBuilder
impl AttributeOperationBuilder
sourcepub fn attribute_path(self, input: impl Into<String>) -> Self
pub fn attribute_path(self, input: impl Into<String>) -> Self
A string representation of the path to a given attribute or sub-attribute. Supports JMESPath.
This field is required.sourcepub fn set_attribute_path(self, input: Option<String>) -> Self
pub fn set_attribute_path(self, input: Option<String>) -> Self
A string representation of the path to a given attribute or sub-attribute. Supports JMESPath.
sourcepub fn get_attribute_path(&self) -> &Option<String>
pub fn get_attribute_path(&self) -> &Option<String>
A string representation of the path to a given attribute or sub-attribute. Supports JMESPath.
sourcepub fn attribute_value(self, input: Document) -> Self
pub fn attribute_value(self, input: Document) -> Self
The value of the attribute. This is a Document
type. This type is not supported by Java V1, Go V1, and older versions of the CLI.
sourcepub fn set_attribute_value(self, input: Option<Document>) -> Self
pub fn set_attribute_value(self, input: Option<Document>) -> Self
The value of the attribute. This is a Document
type. This type is not supported by Java V1, Go V1, and older versions of the CLI.
sourcepub fn get_attribute_value(&self) -> &Option<Document>
pub fn get_attribute_value(&self) -> &Option<Document>
The value of the attribute. This is a Document
type. This type is not supported by Java V1, Go V1, and older versions of the CLI.
sourcepub fn build(self) -> Result<AttributeOperation, BuildError>
pub fn build(self) -> Result<AttributeOperation, BuildError>
Consumes the builder and constructs a AttributeOperation
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AttributeOperationBuilder
impl Clone for AttributeOperationBuilder
source§fn clone(&self) -> AttributeOperationBuilder
fn clone(&self) -> AttributeOperationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AttributeOperationBuilder
impl Debug for AttributeOperationBuilder
source§impl Default for AttributeOperationBuilder
impl Default for AttributeOperationBuilder
source§fn default() -> AttributeOperationBuilder
fn default() -> AttributeOperationBuilder
source§impl PartialEq for AttributeOperationBuilder
impl PartialEq for AttributeOperationBuilder
source§fn eq(&self, other: &AttributeOperationBuilder) -> bool
fn eq(&self, other: &AttributeOperationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttributeOperationBuilder
Auto Trait Implementations§
impl Freeze for AttributeOperationBuilder
impl RefUnwindSafe for AttributeOperationBuilder
impl Send for AttributeOperationBuilder
impl Sync for AttributeOperationBuilder
impl Unpin for AttributeOperationBuilder
impl UnwindSafe for AttributeOperationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more