#[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 ==
.