Struct aws_sdk_clouddirectory::operation::upgrade_published_schema::builders::UpgradePublishedSchemaInputBuilder
source · #[non_exhaustive]pub struct UpgradePublishedSchemaInputBuilder { /* private fields */ }Expand description
A builder for UpgradePublishedSchemaInput.
Implementations§
source§impl UpgradePublishedSchemaInputBuilder
impl UpgradePublishedSchemaInputBuilder
sourcepub fn development_schema_arn(self, input: impl Into<String>) -> Self
pub fn development_schema_arn(self, input: impl Into<String>) -> Self
The ARN of the development schema with the changes used for the upgrade.
This field is required.sourcepub fn set_development_schema_arn(self, input: Option<String>) -> Self
pub fn set_development_schema_arn(self, input: Option<String>) -> Self
The ARN of the development schema with the changes used for the upgrade.
sourcepub fn get_development_schema_arn(&self) -> &Option<String>
pub fn get_development_schema_arn(&self) -> &Option<String>
The ARN of the development schema with the changes used for the upgrade.
sourcepub fn published_schema_arn(self, input: impl Into<String>) -> Self
pub fn published_schema_arn(self, input: impl Into<String>) -> Self
The ARN of the published schema to be upgraded.
This field is required.sourcepub fn set_published_schema_arn(self, input: Option<String>) -> Self
pub fn set_published_schema_arn(self, input: Option<String>) -> Self
The ARN of the published schema to be upgraded.
sourcepub fn get_published_schema_arn(&self) -> &Option<String>
pub fn get_published_schema_arn(&self) -> &Option<String>
The ARN of the published schema to be upgraded.
sourcepub fn minor_version(self, input: impl Into<String>) -> Self
pub fn minor_version(self, input: impl Into<String>) -> Self
Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
This field is required.sourcepub fn set_minor_version(self, input: Option<String>) -> Self
pub fn set_minor_version(self, input: Option<String>) -> Self
Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
sourcepub fn get_minor_version(&self) -> &Option<String>
pub fn get_minor_version(&self) -> &Option<String>
Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
sourcepub fn build(self) -> Result<UpgradePublishedSchemaInput, BuildError>
pub fn build(self) -> Result<UpgradePublishedSchemaInput, BuildError>
Consumes the builder and constructs a UpgradePublishedSchemaInput.
source§impl UpgradePublishedSchemaInputBuilder
impl UpgradePublishedSchemaInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpgradePublishedSchemaOutput, SdkError<UpgradePublishedSchemaError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpgradePublishedSchemaOutput, SdkError<UpgradePublishedSchemaError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpgradePublishedSchemaInputBuilder
impl Clone for UpgradePublishedSchemaInputBuilder
source§fn clone(&self) -> UpgradePublishedSchemaInputBuilder
fn clone(&self) -> UpgradePublishedSchemaInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpgradePublishedSchemaInputBuilder
impl Default for UpgradePublishedSchemaInputBuilder
source§fn default() -> UpgradePublishedSchemaInputBuilder
fn default() -> UpgradePublishedSchemaInputBuilder
source§impl PartialEq for UpgradePublishedSchemaInputBuilder
impl PartialEq for UpgradePublishedSchemaInputBuilder
source§fn eq(&self, other: &UpgradePublishedSchemaInputBuilder) -> bool
fn eq(&self, other: &UpgradePublishedSchemaInputBuilder) -> bool
self and other values to be equal, and is used
by ==.