#[non_exhaustive]pub struct GetSchemaVersionOutputBuilder { /* private fields */ }Expand description
A builder for GetSchemaVersionOutput.
Implementations§
source§impl GetSchemaVersionOutputBuilder
impl GetSchemaVersionOutputBuilder
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.
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.
sourcepub fn get_schema_version_id(&self) -> &Option<String>
pub fn get_schema_version_id(&self) -> &Option<String>
The SchemaVersionId of the schema version.
sourcepub fn schema_definition(self, input: impl Into<String>) -> Self
pub fn schema_definition(self, input: impl Into<String>) -> Self
The schema definition for the schema ID.
sourcepub fn set_schema_definition(self, input: Option<String>) -> Self
pub fn set_schema_definition(self, input: Option<String>) -> Self
The schema definition for the schema ID.
sourcepub fn get_schema_definition(&self) -> &Option<String>
pub fn get_schema_definition(&self) -> &Option<String>
The schema definition for the schema ID.
sourcepub fn data_format(self, input: DataFormat) -> Self
pub fn data_format(self, input: DataFormat) -> Self
The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.
sourcepub fn set_data_format(self, input: Option<DataFormat>) -> Self
pub fn set_data_format(self, input: Option<DataFormat>) -> Self
The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.
sourcepub fn get_data_format(&self) -> &Option<DataFormat>
pub fn get_data_format(&self) -> &Option<DataFormat>
The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.
sourcepub fn schema_arn(self, input: impl Into<String>) -> Self
pub fn schema_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the schema.
sourcepub fn set_schema_arn(self, input: Option<String>) -> Self
pub fn set_schema_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the schema.
sourcepub fn get_schema_arn(&self) -> &Option<String>
pub fn get_schema_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the schema.
sourcepub fn version_number(self, input: i64) -> Self
pub fn version_number(self, input: i64) -> Self
The version number of the schema.
sourcepub fn set_version_number(self, input: Option<i64>) -> Self
pub fn set_version_number(self, input: Option<i64>) -> Self
The version number of the schema.
sourcepub fn get_version_number(&self) -> &Option<i64>
pub fn get_version_number(&self) -> &Option<i64>
The version number of the schema.
sourcepub fn status(self, input: SchemaVersionStatus) -> Self
pub fn status(self, input: SchemaVersionStatus) -> Self
The status of the schema version.
sourcepub fn set_status(self, input: Option<SchemaVersionStatus>) -> Self
pub fn set_status(self, input: Option<SchemaVersionStatus>) -> Self
The status of the schema version.
sourcepub fn get_status(&self) -> &Option<SchemaVersionStatus>
pub fn get_status(&self) -> &Option<SchemaVersionStatus>
The status of the schema version.
sourcepub fn created_time(self, input: impl Into<String>) -> Self
pub fn created_time(self, input: impl Into<String>) -> Self
The date and time the schema version was created.
sourcepub fn set_created_time(self, input: Option<String>) -> Self
pub fn set_created_time(self, input: Option<String>) -> Self
The date and time the schema version was created.
sourcepub fn get_created_time(&self) -> &Option<String>
pub fn get_created_time(&self) -> &Option<String>
The date and time the schema version was created.
sourcepub fn build(self) -> GetSchemaVersionOutput
pub fn build(self) -> GetSchemaVersionOutput
Consumes the builder and constructs a GetSchemaVersionOutput.
Trait Implementations§
source§impl Clone for GetSchemaVersionOutputBuilder
impl Clone for GetSchemaVersionOutputBuilder
source§fn clone(&self) -> GetSchemaVersionOutputBuilder
fn clone(&self) -> GetSchemaVersionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetSchemaVersionOutputBuilder
impl Default for GetSchemaVersionOutputBuilder
source§fn default() -> GetSchemaVersionOutputBuilder
fn default() -> GetSchemaVersionOutputBuilder
source§impl PartialEq for GetSchemaVersionOutputBuilder
impl PartialEq for GetSchemaVersionOutputBuilder
source§fn eq(&self, other: &GetSchemaVersionOutputBuilder) -> bool
fn eq(&self, other: &GetSchemaVersionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetSchemaVersionOutputBuilder
Auto Trait Implementations§
impl Freeze for GetSchemaVersionOutputBuilder
impl RefUnwindSafe for GetSchemaVersionOutputBuilder
impl Send for GetSchemaVersionOutputBuilder
impl Sync for GetSchemaVersionOutputBuilder
impl Unpin for GetSchemaVersionOutputBuilder
impl UnwindSafe for GetSchemaVersionOutputBuilder
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