#[non_exhaustive]pub struct CreateSchemaInputBuilder { /* private fields */ }Expand description
A builder for CreateSchemaInput.
Implementations§
source§impl CreateSchemaInputBuilder
impl CreateSchemaInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name that is associated with the schema. This is unique to each account and in each region.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name that is associated with the schema. This is unique to each account and in each region.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name that is associated with the schema. This is unique to each account and in each region.
sourcepub fn build(self) -> Result<CreateSchemaInput, BuildError>
pub fn build(self) -> Result<CreateSchemaInput, BuildError>
Consumes the builder and constructs a CreateSchemaInput.
source§impl CreateSchemaInputBuilder
impl CreateSchemaInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSchemaOutput, SdkError<CreateSchemaError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSchemaOutput, SdkError<CreateSchemaError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSchemaInputBuilder
impl Clone for CreateSchemaInputBuilder
source§fn clone(&self) -> CreateSchemaInputBuilder
fn clone(&self) -> CreateSchemaInputBuilder
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 CreateSchemaInputBuilder
impl Debug for CreateSchemaInputBuilder
source§impl Default for CreateSchemaInputBuilder
impl Default for CreateSchemaInputBuilder
source§fn default() -> CreateSchemaInputBuilder
fn default() -> CreateSchemaInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateSchemaInputBuilder
impl PartialEq for CreateSchemaInputBuilder
source§fn eq(&self, other: &CreateSchemaInputBuilder) -> bool
fn eq(&self, other: &CreateSchemaInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateSchemaInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateSchemaInputBuilder
impl Send for CreateSchemaInputBuilder
impl Sync for CreateSchemaInputBuilder
impl Unpin for CreateSchemaInputBuilder
impl UnwindSafe for CreateSchemaInputBuilder
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>
Creates a shared type from an unshared type.