Struct aws_sdk_connectcases::operation::batch_get_field::builders::BatchGetFieldInputBuilder
source · #[non_exhaustive]pub struct BatchGetFieldInputBuilder { /* private fields */ }Expand description
A builder for BatchGetFieldInput.
Implementations§
source§impl BatchGetFieldInputBuilder
impl BatchGetFieldInputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The unique identifier of the Cases domain.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The unique identifier of the Cases domain.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The unique identifier of the Cases domain.
sourcepub fn fields(self, input: FieldIdentifier) -> Self
pub fn fields(self, input: FieldIdentifier) -> Self
Appends an item to fields.
To override the contents of this collection use set_fields.
A list of unique field identifiers.
sourcepub fn set_fields(self, input: Option<Vec<FieldIdentifier>>) -> Self
pub fn set_fields(self, input: Option<Vec<FieldIdentifier>>) -> Self
A list of unique field identifiers.
sourcepub fn get_fields(&self) -> &Option<Vec<FieldIdentifier>>
pub fn get_fields(&self) -> &Option<Vec<FieldIdentifier>>
A list of unique field identifiers.
sourcepub fn build(self) -> Result<BatchGetFieldInput, BuildError>
pub fn build(self) -> Result<BatchGetFieldInput, BuildError>
Consumes the builder and constructs a BatchGetFieldInput.
source§impl BatchGetFieldInputBuilder
impl BatchGetFieldInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchGetFieldOutput, SdkError<BatchGetFieldError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchGetFieldOutput, SdkError<BatchGetFieldError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetFieldInputBuilder
impl Clone for BatchGetFieldInputBuilder
source§fn clone(&self) -> BatchGetFieldInputBuilder
fn clone(&self) -> BatchGetFieldInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BatchGetFieldInputBuilder
impl Debug for BatchGetFieldInputBuilder
source§impl Default for BatchGetFieldInputBuilder
impl Default for BatchGetFieldInputBuilder
source§fn default() -> BatchGetFieldInputBuilder
fn default() -> BatchGetFieldInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchGetFieldInputBuilder
impl PartialEq for BatchGetFieldInputBuilder
source§fn eq(&self, other: &BatchGetFieldInputBuilder) -> bool
fn eq(&self, other: &BatchGetFieldInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchGetFieldInputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetFieldInputBuilder
impl RefUnwindSafe for BatchGetFieldInputBuilder
impl Send for BatchGetFieldInputBuilder
impl Sync for BatchGetFieldInputBuilder
impl Unpin for BatchGetFieldInputBuilder
impl UnwindSafe for BatchGetFieldInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.