Struct aws_sdk_glue::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffInputBuilder
source · #[non_exhaustive]pub struct GetSchemaVersionsDiffInputBuilder { /* private fields */ }
Expand description
A builder for GetSchemaVersionsDiffInput
.
Implementations§
source§impl GetSchemaVersionsDiffInputBuilder
impl GetSchemaVersionsDiffInputBuilder
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. One of
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
has 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. One of
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
has 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. One of
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
has to be provided.
sourcepub fn first_schema_version_number(self, input: SchemaVersionNumber) -> Self
pub fn first_schema_version_number(self, input: SchemaVersionNumber) -> Self
The first of the two schema versions to be compared.
This field is required.sourcepub fn set_first_schema_version_number(
self,
input: Option<SchemaVersionNumber>
) -> Self
pub fn set_first_schema_version_number( self, input: Option<SchemaVersionNumber> ) -> Self
The first of the two schema versions to be compared.
sourcepub fn get_first_schema_version_number(&self) -> &Option<SchemaVersionNumber>
pub fn get_first_schema_version_number(&self) -> &Option<SchemaVersionNumber>
The first of the two schema versions to be compared.
sourcepub fn second_schema_version_number(self, input: SchemaVersionNumber) -> Self
pub fn second_schema_version_number(self, input: SchemaVersionNumber) -> Self
The second of the two schema versions to be compared.
This field is required.sourcepub fn set_second_schema_version_number(
self,
input: Option<SchemaVersionNumber>
) -> Self
pub fn set_second_schema_version_number( self, input: Option<SchemaVersionNumber> ) -> Self
The second of the two schema versions to be compared.
sourcepub fn get_second_schema_version_number(&self) -> &Option<SchemaVersionNumber>
pub fn get_second_schema_version_number(&self) -> &Option<SchemaVersionNumber>
The second of the two schema versions to be compared.
sourcepub fn schema_diff_type(self, input: SchemaDiffType) -> Self
pub fn schema_diff_type(self, input: SchemaDiffType) -> Self
Refers to SYNTAX_DIFF
, which is the currently supported diff type.
sourcepub fn set_schema_diff_type(self, input: Option<SchemaDiffType>) -> Self
pub fn set_schema_diff_type(self, input: Option<SchemaDiffType>) -> Self
Refers to SYNTAX_DIFF
, which is the currently supported diff type.
sourcepub fn get_schema_diff_type(&self) -> &Option<SchemaDiffType>
pub fn get_schema_diff_type(&self) -> &Option<SchemaDiffType>
Refers to SYNTAX_DIFF
, which is the currently supported diff type.
sourcepub fn build(self) -> Result<GetSchemaVersionsDiffInput, BuildError>
pub fn build(self) -> Result<GetSchemaVersionsDiffInput, BuildError>
Consumes the builder and constructs a GetSchemaVersionsDiffInput
.
source§impl GetSchemaVersionsDiffInputBuilder
impl GetSchemaVersionsDiffInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetSchemaVersionsDiffOutput, SdkError<GetSchemaVersionsDiffError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetSchemaVersionsDiffOutput, SdkError<GetSchemaVersionsDiffError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetSchemaVersionsDiffInputBuilder
impl Clone for GetSchemaVersionsDiffInputBuilder
source§fn clone(&self) -> GetSchemaVersionsDiffInputBuilder
fn clone(&self) -> GetSchemaVersionsDiffInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetSchemaVersionsDiffInputBuilder
impl Default for GetSchemaVersionsDiffInputBuilder
source§fn default() -> GetSchemaVersionsDiffInputBuilder
fn default() -> GetSchemaVersionsDiffInputBuilder
source§impl PartialEq for GetSchemaVersionsDiffInputBuilder
impl PartialEq for GetSchemaVersionsDiffInputBuilder
source§fn eq(&self, other: &GetSchemaVersionsDiffInputBuilder) -> bool
fn eq(&self, other: &GetSchemaVersionsDiffInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSchemaVersionsDiffInputBuilder
Auto Trait Implementations§
impl Freeze for GetSchemaVersionsDiffInputBuilder
impl RefUnwindSafe for GetSchemaVersionsDiffInputBuilder
impl Send for GetSchemaVersionsDiffInputBuilder
impl Sync for GetSchemaVersionsDiffInputBuilder
impl Unpin for GetSchemaVersionsDiffInputBuilder
impl UnwindSafe for GetSchemaVersionsDiffInputBuilder
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