#[non_exhaustive]pub struct GetSchemaVersionInputBuilder { /* private fields */ }
Expand description
A builder for GetSchemaVersionInput
.
Implementations§
source§impl GetSchemaVersionInputBuilder
impl GetSchemaVersionInputBuilder
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_version_id(self, input: impl Into<String>) -> Self
pub fn schema_version_id(self, input: impl Into<String>) -> Self
The SchemaVersionId
of the schema version. This field is required for fetching by schema ID. Either this or the SchemaId
wrapper has to be provided.
sourcepub fn set_schema_version_id(self, input: Option<String>) -> Self
pub fn set_schema_version_id(self, input: Option<String>) -> Self
The SchemaVersionId
of the schema version. This field is required for fetching by schema ID. Either this or the SchemaId
wrapper has to be provided.
sourcepub fn get_schema_version_id(&self) -> &Option<String>
pub fn get_schema_version_id(&self) -> &Option<String>
The SchemaVersionId
of the schema version. This field is required for fetching by schema ID. Either this or the SchemaId
wrapper has to be provided.
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 build(self) -> Result<GetSchemaVersionInput, BuildError>
pub fn build(self) -> Result<GetSchemaVersionInput, BuildError>
Consumes the builder and constructs a GetSchemaVersionInput
.
source§impl GetSchemaVersionInputBuilder
impl GetSchemaVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetSchemaVersionOutput, SdkError<GetSchemaVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetSchemaVersionOutput, SdkError<GetSchemaVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetSchemaVersionInputBuilder
impl Clone for GetSchemaVersionInputBuilder
source§fn clone(&self) -> GetSchemaVersionInputBuilder
fn clone(&self) -> GetSchemaVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetSchemaVersionInputBuilder
impl Debug for GetSchemaVersionInputBuilder
source§impl Default for GetSchemaVersionInputBuilder
impl Default for GetSchemaVersionInputBuilder
source§fn default() -> GetSchemaVersionInputBuilder
fn default() -> GetSchemaVersionInputBuilder
source§impl PartialEq for GetSchemaVersionInputBuilder
impl PartialEq for GetSchemaVersionInputBuilder
source§fn eq(&self, other: &GetSchemaVersionInputBuilder) -> bool
fn eq(&self, other: &GetSchemaVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSchemaVersionInputBuilder
Auto Trait Implementations§
impl Freeze for GetSchemaVersionInputBuilder
impl RefUnwindSafe for GetSchemaVersionInputBuilder
impl Send for GetSchemaVersionInputBuilder
impl Sync for GetSchemaVersionInputBuilder
impl Unpin for GetSchemaVersionInputBuilder
impl UnwindSafe for GetSchemaVersionInputBuilder
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