Struct aws_sdk_glue::operation::register_schema_version::builders::RegisterSchemaVersionInputBuilder
source · #[non_exhaustive]pub struct RegisterSchemaVersionInputBuilder { /* private fields */ }
Expand description
A builder for RegisterSchemaVersionInput
.
Implementations§
source§impl RegisterSchemaVersionInputBuilder
impl RegisterSchemaVersionInputBuilder
sourcepub fn schema_id(self, input: SchemaId) -> Self
pub fn schema_id(self, input: SchemaId) -> Self
This is a wrapper structure to contain schema identity fields. The structure contains:
-
SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided.
sourcepub fn set_schema_id(self, input: Option<SchemaId>) -> Self
pub fn set_schema_id(self, input: Option<SchemaId>) -> Self
This is a wrapper structure to contain schema identity fields. The structure contains:
-
SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided.
sourcepub fn get_schema_id(&self) -> &Option<SchemaId>
pub fn get_schema_id(&self) -> &Option<SchemaId>
This is a wrapper structure to contain schema identity fields. The structure contains:
-
SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided.
sourcepub fn schema_definition(self, input: impl Into<String>) -> Self
pub fn schema_definition(self, input: impl Into<String>) -> Self
The schema definition using the DataFormat
setting for the SchemaName
.
sourcepub fn set_schema_definition(self, input: Option<String>) -> Self
pub fn set_schema_definition(self, input: Option<String>) -> Self
The schema definition using the DataFormat
setting for the SchemaName
.
sourcepub fn get_schema_definition(&self) -> &Option<String>
pub fn get_schema_definition(&self) -> &Option<String>
The schema definition using the DataFormat
setting for the SchemaName
.
sourcepub fn build(self) -> Result<RegisterSchemaVersionInput, BuildError>
pub fn build(self) -> Result<RegisterSchemaVersionInput, BuildError>
Consumes the builder and constructs a RegisterSchemaVersionInput
.
source§impl RegisterSchemaVersionInputBuilder
impl RegisterSchemaVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RegisterSchemaVersionOutput, SdkError<RegisterSchemaVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RegisterSchemaVersionOutput, SdkError<RegisterSchemaVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RegisterSchemaVersionInputBuilder
impl Clone for RegisterSchemaVersionInputBuilder
source§fn clone(&self) -> RegisterSchemaVersionInputBuilder
fn clone(&self) -> RegisterSchemaVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RegisterSchemaVersionInputBuilder
impl Default for RegisterSchemaVersionInputBuilder
source§fn default() -> RegisterSchemaVersionInputBuilder
fn default() -> RegisterSchemaVersionInputBuilder
source§impl PartialEq for RegisterSchemaVersionInputBuilder
impl PartialEq for RegisterSchemaVersionInputBuilder
source§fn eq(&self, other: &RegisterSchemaVersionInputBuilder) -> bool
fn eq(&self, other: &RegisterSchemaVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegisterSchemaVersionInputBuilder
Auto Trait Implementations§
impl Freeze for RegisterSchemaVersionInputBuilder
impl RefUnwindSafe for RegisterSchemaVersionInputBuilder
impl Send for RegisterSchemaVersionInputBuilder
impl Sync for RegisterSchemaVersionInputBuilder
impl Unpin for RegisterSchemaVersionInputBuilder
impl UnwindSafe for RegisterSchemaVersionInputBuilder
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