Struct aws_sdk_glue::operation::check_schema_version_validity::builders::CheckSchemaVersionValidityInputBuilder
source · #[non_exhaustive]pub struct CheckSchemaVersionValidityInputBuilder { /* private fields */ }Expand description
A builder for CheckSchemaVersionValidityInput.
Implementations§
source§impl CheckSchemaVersionValidityInputBuilder
impl CheckSchemaVersionValidityInputBuilder
sourcepub fn data_format(self, input: DataFormat) -> Self
pub fn data_format(self, input: DataFormat) -> Self
The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.
sourcepub fn set_data_format(self, input: Option<DataFormat>) -> Self
pub fn set_data_format(self, input: Option<DataFormat>) -> Self
The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.
sourcepub fn get_data_format(&self) -> &Option<DataFormat>
pub fn get_data_format(&self) -> &Option<DataFormat>
The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.
sourcepub fn schema_definition(self, input: impl Into<String>) -> Self
pub fn schema_definition(self, input: impl Into<String>) -> Self
The definition of the schema that has to be validated.
This field is required.sourcepub fn set_schema_definition(self, input: Option<String>) -> Self
pub fn set_schema_definition(self, input: Option<String>) -> Self
The definition of the schema that has to be validated.
sourcepub fn get_schema_definition(&self) -> &Option<String>
pub fn get_schema_definition(&self) -> &Option<String>
The definition of the schema that has to be validated.
sourcepub fn build(self) -> Result<CheckSchemaVersionValidityInput, BuildError>
pub fn build(self) -> Result<CheckSchemaVersionValidityInput, BuildError>
Consumes the builder and constructs a CheckSchemaVersionValidityInput.
source§impl CheckSchemaVersionValidityInputBuilder
impl CheckSchemaVersionValidityInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CheckSchemaVersionValidityOutput, SdkError<CheckSchemaVersionValidityError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CheckSchemaVersionValidityOutput, SdkError<CheckSchemaVersionValidityError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CheckSchemaVersionValidityInputBuilder
impl Clone for CheckSchemaVersionValidityInputBuilder
source§fn clone(&self) -> CheckSchemaVersionValidityInputBuilder
fn clone(&self) -> CheckSchemaVersionValidityInputBuilder
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 Default for CheckSchemaVersionValidityInputBuilder
impl Default for CheckSchemaVersionValidityInputBuilder
source§fn default() -> CheckSchemaVersionValidityInputBuilder
fn default() -> CheckSchemaVersionValidityInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CheckSchemaVersionValidityInputBuilder
impl PartialEq for CheckSchemaVersionValidityInputBuilder
source§fn eq(&self, other: &CheckSchemaVersionValidityInputBuilder) -> bool
fn eq(&self, other: &CheckSchemaVersionValidityInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CheckSchemaVersionValidityInputBuilder
Auto Trait Implementations§
impl Freeze for CheckSchemaVersionValidityInputBuilder
impl RefUnwindSafe for CheckSchemaVersionValidityInputBuilder
impl Send for CheckSchemaVersionValidityInputBuilder
impl Sync for CheckSchemaVersionValidityInputBuilder
impl Unpin for CheckSchemaVersionValidityInputBuilder
impl UnwindSafe for CheckSchemaVersionValidityInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.