Struct aws_sdk_glue::model::schema_reference::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for SchemaReference.
Implementations§
source§impl Builder
impl Builder
sourcepub fn schema_id(self, input: SchemaId) -> Self
pub fn schema_id(self, input: SchemaId) -> Self
A structure that contains schema identity fields. Either this or the SchemaVersionId has to be provided.
sourcepub fn set_schema_id(self, input: Option<SchemaId>) -> Self
pub fn set_schema_id(self, input: Option<SchemaId>) -> Self
A structure that contains schema identity fields. Either this or the SchemaVersionId 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 unique ID assigned to a version of the schema. Either this or the SchemaId 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 unique ID assigned to a version of the schema. Either this or the SchemaId has to be provided.
sourcepub fn schema_version_number(self, input: i64) -> Self
pub fn schema_version_number(self, input: i64) -> Self
The version number of the schema.
sourcepub fn set_schema_version_number(self, input: Option<i64>) -> Self
pub fn set_schema_version_number(self, input: Option<i64>) -> Self
The version number of the schema.
sourcepub fn build(self) -> SchemaReference
pub fn build(self) -> SchemaReference
Consumes the builder and constructs a SchemaReference.