#[non_exhaustive]pub struct CreateSchemaInputBuilder { /* private fields */ }
Expand description
A builder for CreateSchemaInput
.
Implementations§
source§impl CreateSchemaInputBuilder
impl CreateSchemaInputBuilder
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
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