Struct aws_sdk_glue::operation::put_schema_version_metadata::builders::PutSchemaVersionMetadataInputBuilder
source · #[non_exhaustive]pub struct PutSchemaVersionMetadataInputBuilder { /* private fields */ }
Expand description
A builder for PutSchemaVersionMetadataInput
.
Implementations§
source§impl PutSchemaVersionMetadataInputBuilder
impl PutSchemaVersionMetadataInputBuilder
sourcepub fn set_schema_id(self, input: Option<SchemaId>) -> Self
pub fn set_schema_id(self, input: Option<SchemaId>) -> Self
The unique ID for the schema.
sourcepub fn get_schema_id(&self) -> &Option<SchemaId>
pub fn get_schema_id(&self) -> &Option<SchemaId>
The unique ID for the schema.
sourcepub fn schema_version_number(self, input: SchemaVersionNumber) -> Self
pub fn schema_version_number(self, input: SchemaVersionNumber) -> Self
The version number of the schema.
sourcepub fn set_schema_version_number(
self,
input: Option<SchemaVersionNumber>,
) -> Self
pub fn set_schema_version_number( self, input: Option<SchemaVersionNumber>, ) -> Self
The version number of the schema.
sourcepub fn get_schema_version_number(&self) -> &Option<SchemaVersionNumber>
pub fn get_schema_version_number(&self) -> &Option<SchemaVersionNumber>
The version number of the schema.
sourcepub fn schema_version_id(self, input: impl Into<String>) -> Self
pub fn schema_version_id(self, input: impl Into<String>) -> Self
The unique version ID of the schema version.
sourcepub fn set_schema_version_id(self, input: Option<String>) -> Self
pub fn set_schema_version_id(self, input: Option<String>) -> Self
The unique version ID of the schema version.
sourcepub fn get_schema_version_id(&self) -> &Option<String>
pub fn get_schema_version_id(&self) -> &Option<String>
The unique version ID of the schema version.
sourcepub fn metadata_key_value(self, input: MetadataKeyValuePair) -> Self
pub fn metadata_key_value(self, input: MetadataKeyValuePair) -> Self
The metadata key's corresponding value.
This field is required.sourcepub fn set_metadata_key_value(self, input: Option<MetadataKeyValuePair>) -> Self
pub fn set_metadata_key_value(self, input: Option<MetadataKeyValuePair>) -> Self
The metadata key's corresponding value.
sourcepub fn get_metadata_key_value(&self) -> &Option<MetadataKeyValuePair>
pub fn get_metadata_key_value(&self) -> &Option<MetadataKeyValuePair>
The metadata key's corresponding value.
sourcepub fn build(self) -> Result<PutSchemaVersionMetadataInput, BuildError>
pub fn build(self) -> Result<PutSchemaVersionMetadataInput, BuildError>
Consumes the builder and constructs a PutSchemaVersionMetadataInput
.
source§impl PutSchemaVersionMetadataInputBuilder
impl PutSchemaVersionMetadataInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<PutSchemaVersionMetadataOutput, SdkError<PutSchemaVersionMetadataError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<PutSchemaVersionMetadataOutput, SdkError<PutSchemaVersionMetadataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutSchemaVersionMetadataInputBuilder
impl Clone for PutSchemaVersionMetadataInputBuilder
source§fn clone(&self) -> PutSchemaVersionMetadataInputBuilder
fn clone(&self) -> PutSchemaVersionMetadataInputBuilder
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 PutSchemaVersionMetadataInputBuilder
impl Default for PutSchemaVersionMetadataInputBuilder
source§fn default() -> PutSchemaVersionMetadataInputBuilder
fn default() -> PutSchemaVersionMetadataInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutSchemaVersionMetadataInputBuilder
impl PartialEq for PutSchemaVersionMetadataInputBuilder
source§fn eq(&self, other: &PutSchemaVersionMetadataInputBuilder) -> bool
fn eq(&self, other: &PutSchemaVersionMetadataInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutSchemaVersionMetadataInputBuilder
Auto Trait Implementations§
impl Freeze for PutSchemaVersionMetadataInputBuilder
impl RefUnwindSafe for PutSchemaVersionMetadataInputBuilder
impl Send for PutSchemaVersionMetadataInputBuilder
impl Sync for PutSchemaVersionMetadataInputBuilder
impl Unpin for PutSchemaVersionMetadataInputBuilder
impl UnwindSafe for PutSchemaVersionMetadataInputBuilder
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> 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.