#[non_exhaustive]pub struct UpdateSchemaInputBuilder { /* private fields */ }
Expand description
A builder for UpdateSchemaInput
.
Implementations§
source§impl UpdateSchemaInputBuilder
impl UpdateSchemaInputBuilder
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. One of
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
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. One of
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
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. One of
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
has to be provided.
sourcepub fn schema_version_number(self, input: SchemaVersionNumber) -> Self
pub fn schema_version_number(self, input: SchemaVersionNumber) -> Self
Version number required for check pointing. One of VersionNumber
or Compatibility
has to be provided.
sourcepub fn set_schema_version_number(
self,
input: Option<SchemaVersionNumber>,
) -> Self
pub fn set_schema_version_number( self, input: Option<SchemaVersionNumber>, ) -> Self
Version number required for check pointing. One of VersionNumber
or Compatibility
has to be provided.
sourcepub fn get_schema_version_number(&self) -> &Option<SchemaVersionNumber>
pub fn get_schema_version_number(&self) -> &Option<SchemaVersionNumber>
Version number required for check pointing. One of VersionNumber
or Compatibility
has to be provided.
sourcepub fn compatibility(self, input: Compatibility) -> Self
pub fn compatibility(self, input: Compatibility) -> Self
The new compatibility setting for the schema.
sourcepub fn set_compatibility(self, input: Option<Compatibility>) -> Self
pub fn set_compatibility(self, input: Option<Compatibility>) -> Self
The new compatibility setting for the schema.
sourcepub fn get_compatibility(&self) -> &Option<Compatibility>
pub fn get_compatibility(&self) -> &Option<Compatibility>
The new compatibility setting for the schema.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The new description for the schema.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The new description for the schema.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The new description for the schema.
sourcepub fn build(self) -> Result<UpdateSchemaInput, BuildError>
pub fn build(self) -> Result<UpdateSchemaInput, BuildError>
Consumes the builder and constructs a UpdateSchemaInput
.
source§impl UpdateSchemaInputBuilder
impl UpdateSchemaInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateSchemaOutput, SdkError<UpdateSchemaError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateSchemaOutput, SdkError<UpdateSchemaError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSchemaInputBuilder
impl Clone for UpdateSchemaInputBuilder
source§fn clone(&self) -> UpdateSchemaInputBuilder
fn clone(&self) -> UpdateSchemaInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateSchemaInputBuilder
impl Debug for UpdateSchemaInputBuilder
source§impl Default for UpdateSchemaInputBuilder
impl Default for UpdateSchemaInputBuilder
source§fn default() -> UpdateSchemaInputBuilder
fn default() -> UpdateSchemaInputBuilder
source§impl PartialEq for UpdateSchemaInputBuilder
impl PartialEq for UpdateSchemaInputBuilder
source§fn eq(&self, other: &UpdateSchemaInputBuilder) -> bool
fn eq(&self, other: &UpdateSchemaInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSchemaInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSchemaInputBuilder
impl RefUnwindSafe for UpdateSchemaInputBuilder
impl Send for UpdateSchemaInputBuilder
impl Sync for UpdateSchemaInputBuilder
impl Unpin for UpdateSchemaInputBuilder
impl UnwindSafe for UpdateSchemaInputBuilder
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