#[non_exhaustive]pub struct CreateSchemaInputBuilder { /* private fields */ }Expand description
A builder for CreateSchemaInput.
Implementations§
source§impl CreateSchemaInputBuilder
impl CreateSchemaInputBuilder
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The source of the schema definition.
This field is required.sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The source of the schema definition.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
The source of the schema definition.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the schema.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the schema.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the schema.
sourcepub fn registry_name(self, input: impl Into<String>) -> Self
pub fn registry_name(self, input: impl Into<String>) -> Self
The name of the registry.
This field is required.sourcepub fn set_registry_name(self, input: Option<String>) -> Self
pub fn set_registry_name(self, input: Option<String>) -> Self
The name of the registry.
sourcepub fn get_registry_name(&self) -> &Option<String>
pub fn get_registry_name(&self) -> &Option<String>
The name of the registry.
sourcepub fn schema_name(self, input: impl Into<String>) -> Self
pub fn schema_name(self, input: impl Into<String>) -> Self
The name of the schema.
This field is required.sourcepub fn set_schema_name(self, input: Option<String>) -> Self
pub fn set_schema_name(self, input: Option<String>) -> Self
The name of the schema.
sourcepub fn get_schema_name(&self) -> &Option<String>
pub fn get_schema_name(&self) -> &Option<String>
The name of the schema.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
Tags associated with the schema.
Tags associated with the schema.
Tags associated with the schema.
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.