#[non_exhaustive]pub struct CreateSchemaOutputBuilder { /* private fields */ }
Expand description
A builder for CreateSchemaOutput
.
Implementations§
source§impl CreateSchemaOutputBuilder
impl CreateSchemaOutputBuilder
sourcepub fn registry_name(self, input: impl Into<String>) -> Self
pub fn registry_name(self, input: impl Into<String>) -> Self
The name of the registry.
sourcepub fn set_registry_name(self, input: Option<String>) -> Self
pub fn set_registry_name(self, input: Option<String>) -> Self
The name of the registry.
sourcepub fn get_registry_name(&self) -> &Option<String>
pub fn get_registry_name(&self) -> &Option<String>
The name of the registry.
sourcepub fn registry_arn(self, input: impl Into<String>) -> Self
pub fn registry_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the registry.
sourcepub fn set_registry_arn(self, input: Option<String>) -> Self
pub fn set_registry_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the registry.
sourcepub fn get_registry_arn(&self) -> &Option<String>
pub fn get_registry_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the registry.
sourcepub fn schema_name(self, input: impl Into<String>) -> Self
pub fn schema_name(self, input: impl Into<String>) -> Self
The name of the schema.
sourcepub fn set_schema_name(self, input: Option<String>) -> Self
pub fn set_schema_name(self, input: Option<String>) -> Self
The name of the schema.
sourcepub fn get_schema_name(&self) -> &Option<String>
pub fn get_schema_name(&self) -> &Option<String>
The name of the schema.
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the schema if specified when created.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the schema if specified when created.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the schema if specified when created.
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 compatibility(self, input: Compatibility) -> Self
pub fn compatibility(self, input: Compatibility) -> Self
The schema compatibility mode.
sourcepub fn set_compatibility(self, input: Option<Compatibility>) -> Self
pub fn set_compatibility(self, input: Option<Compatibility>) -> Self
The schema compatibility mode.
sourcepub fn get_compatibility(&self) -> &Option<Compatibility>
pub fn get_compatibility(&self) -> &Option<Compatibility>
The schema compatibility mode.
sourcepub fn schema_checkpoint(self, input: i64) -> Self
pub fn schema_checkpoint(self, input: i64) -> Self
The version number of the checkpoint (the last time the compatibility mode was changed).
sourcepub fn set_schema_checkpoint(self, input: Option<i64>) -> Self
pub fn set_schema_checkpoint(self, input: Option<i64>) -> Self
The version number of the checkpoint (the last time the compatibility mode was changed).
sourcepub fn get_schema_checkpoint(&self) -> &Option<i64>
pub fn get_schema_checkpoint(&self) -> &Option<i64>
The version number of the checkpoint (the last time the compatibility mode was changed).
sourcepub fn latest_schema_version(self, input: i64) -> Self
pub fn latest_schema_version(self, input: i64) -> Self
The latest version of the schema associated with the returned schema definition.
sourcepub fn set_latest_schema_version(self, input: Option<i64>) -> Self
pub fn set_latest_schema_version(self, input: Option<i64>) -> Self
The latest version of the schema associated with the returned schema definition.
sourcepub fn get_latest_schema_version(&self) -> &Option<i64>
pub fn get_latest_schema_version(&self) -> &Option<i64>
The latest version of the schema associated with the returned schema definition.
sourcepub fn next_schema_version(self, input: i64) -> Self
pub fn next_schema_version(self, input: i64) -> Self
The next version of the schema associated with the returned schema definition.
sourcepub fn set_next_schema_version(self, input: Option<i64>) -> Self
pub fn set_next_schema_version(self, input: Option<i64>) -> Self
The next version of the schema associated with the returned schema definition.
sourcepub fn get_next_schema_version(&self) -> &Option<i64>
pub fn get_next_schema_version(&self) -> &Option<i64>
The next version of the schema associated with the returned schema definition.
sourcepub fn schema_status(self, input: SchemaStatus) -> Self
pub fn schema_status(self, input: SchemaStatus) -> Self
The status of the schema.
sourcepub fn set_schema_status(self, input: Option<SchemaStatus>) -> Self
pub fn set_schema_status(self, input: Option<SchemaStatus>) -> Self
The status of the schema.
sourcepub fn get_schema_status(&self) -> &Option<SchemaStatus>
pub fn get_schema_status(&self) -> &Option<SchemaStatus>
The status of the schema.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags for the schema.
The tags for the schema.
The tags for the schema.
sourcepub fn schema_version_id(self, input: impl Into<String>) -> Self
pub fn schema_version_id(self, input: impl Into<String>) -> Self
The unique identifier of the first 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 unique identifier of the first schema version.
sourcepub fn get_schema_version_id(&self) -> &Option<String>
pub fn get_schema_version_id(&self) -> &Option<String>
The unique identifier of the first schema version.
sourcepub fn schema_version_status(self, input: SchemaVersionStatus) -> Self
pub fn schema_version_status(self, input: SchemaVersionStatus) -> Self
The status of the first schema version created.
sourcepub fn set_schema_version_status(
self,
input: Option<SchemaVersionStatus>,
) -> Self
pub fn set_schema_version_status( self, input: Option<SchemaVersionStatus>, ) -> Self
The status of the first schema version created.
sourcepub fn get_schema_version_status(&self) -> &Option<SchemaVersionStatus>
pub fn get_schema_version_status(&self) -> &Option<SchemaVersionStatus>
The status of the first schema version created.
sourcepub fn build(self) -> CreateSchemaOutput
pub fn build(self) -> CreateSchemaOutput
Consumes the builder and constructs a CreateSchemaOutput
.
Trait Implementations§
source§impl Clone for CreateSchemaOutputBuilder
impl Clone for CreateSchemaOutputBuilder
source§fn clone(&self) -> CreateSchemaOutputBuilder
fn clone(&self) -> CreateSchemaOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSchemaOutputBuilder
impl Debug for CreateSchemaOutputBuilder
source§impl Default for CreateSchemaOutputBuilder
impl Default for CreateSchemaOutputBuilder
source§fn default() -> CreateSchemaOutputBuilder
fn default() -> CreateSchemaOutputBuilder
source§impl PartialEq for CreateSchemaOutputBuilder
impl PartialEq for CreateSchemaOutputBuilder
source§fn eq(&self, other: &CreateSchemaOutputBuilder) -> bool
fn eq(&self, other: &CreateSchemaOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSchemaOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateSchemaOutputBuilder
impl RefUnwindSafe for CreateSchemaOutputBuilder
impl Send for CreateSchemaOutputBuilder
impl Sync for CreateSchemaOutputBuilder
impl Unpin for CreateSchemaOutputBuilder
impl UnwindSafe for CreateSchemaOutputBuilder
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