#[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
SchemaArnorSchemaNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArnorSchemaNamehas 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
SchemaArnorSchemaNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArnorSchemaNamehas 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
SchemaArnorSchemaNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArnorSchemaNamehas 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 ==.