#[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 for the schema.
This field is required.sourcepub fn schema(self, input: impl Into<String>) -> Self
pub fn schema(self, input: impl Into<String>) -> Self
A schema in Avro JSON format.
This field is required.sourcepub fn set_schema(self, input: Option<String>) -> Self
pub fn set_schema(self, input: Option<String>) -> Self
A schema in Avro JSON format.
sourcepub fn get_schema(&self) -> &Option<String>
pub fn get_schema(&self) -> &Option<String>
A schema in Avro JSON format.
sourcepub fn domain(self, input: Domain) -> Self
pub fn domain(self, input: Domain) -> Self
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
sourcepub fn set_domain(self, input: Option<Domain>) -> Self
pub fn set_domain(self, input: Option<Domain>) -> Self
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
sourcepub fn get_domain(&self) -> &Option<Domain>
pub fn get_domain(&self) -> &Option<Domain>
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for CreateSchemaInputBuilder
impl PartialEq for CreateSchemaInputBuilder
source§fn eq(&self, other: &CreateSchemaInputBuilder) -> bool
fn eq(&self, other: &CreateSchemaInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateSchemaInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSchemaInputBuilder
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
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