Struct aws_sdk_glue::model::schema_reference::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for SchemaReference.
Implementations
sourceimpl 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.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more