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 ==
.