#[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
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_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<GetSchemaVersionInputBuilder> for GetSchemaVersionInputBuilder
impl PartialEq<GetSchemaVersionInputBuilder> 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 ==.