#[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
SchemaArnorSchemaNameandRegistryNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas 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
SchemaArnorSchemaNameandRegistryNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas 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
SchemaArnorSchemaNameandRegistryNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas 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 (const: unstable) · 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 UnsafeUnpin 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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