Struct aws_sdk_glue::operation::get_schema_versions_diff::builders::GetSchemaVersionsDiffFluentBuilder
source · pub struct GetSchemaVersionsDiffFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetSchemaVersionsDiff
.
Fetches the schema version difference in the specified difference type between two stored schema versions in the Schema Registry.
This API allows you to compare two schema versions between two schema definitions under the same schema.
Implementations§
source§impl GetSchemaVersionsDiffFluentBuilder
impl GetSchemaVersionsDiffFluentBuilder
sourcepub fn as_input(&self) -> &GetSchemaVersionsDiffInputBuilder
pub fn as_input(&self) -> &GetSchemaVersionsDiffInputBuilder
Access the GetSchemaVersionsDiff as a reference.
sourcepub async fn send(
self,
) -> Result<GetSchemaVersionsDiffOutput, SdkError<GetSchemaVersionsDiffError, HttpResponse>>
pub async fn send( self, ) -> Result<GetSchemaVersionsDiffOutput, SdkError<GetSchemaVersionsDiffError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<GetSchemaVersionsDiffOutput, GetSchemaVersionsDiffError, Self>
pub fn customize( self, ) -> CustomizableOperation<GetSchemaVersionsDiffOutput, GetSchemaVersionsDiffError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for GetSchemaVersionsDiffFluentBuilder
impl Clone for GetSchemaVersionsDiffFluentBuilder
source§fn clone(&self) -> GetSchemaVersionsDiffFluentBuilder
fn clone(&self) -> GetSchemaVersionsDiffFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for GetSchemaVersionsDiffFluentBuilder
impl !RefUnwindSafe for GetSchemaVersionsDiffFluentBuilder
impl Send for GetSchemaVersionsDiffFluentBuilder
impl Sync for GetSchemaVersionsDiffFluentBuilder
impl Unpin for GetSchemaVersionsDiffFluentBuilder
impl !UnwindSafe for GetSchemaVersionsDiffFluentBuilder
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