Struct aws_sdk_clouddirectory::operation::upgrade_applied_schema::builders::UpgradeAppliedSchemaInputBuilder
source · #[non_exhaustive]pub struct UpgradeAppliedSchemaInputBuilder { /* private fields */ }Expand description
A builder for UpgradeAppliedSchemaInput.
Implementations§
source§impl UpgradeAppliedSchemaInputBuilder
impl UpgradeAppliedSchemaInputBuilder
sourcepub fn published_schema_arn(self, input: impl Into<String>) -> Self
pub fn published_schema_arn(self, input: impl Into<String>) -> Self
The revision of the published schema to upgrade the directory to.
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 revision of the published schema to upgrade the directory to.
sourcepub fn get_published_schema_arn(&self) -> &Option<String>
pub fn get_published_schema_arn(&self) -> &Option<String>
The revision of the published schema to upgrade the directory to.
sourcepub fn directory_arn(self, input: impl Into<String>) -> Self
pub fn directory_arn(self, input: impl Into<String>) -> Self
The ARN for the directory to which the upgraded schema will be applied.
This field is required.sourcepub fn set_directory_arn(self, input: Option<String>) -> Self
pub fn set_directory_arn(self, input: Option<String>) -> Self
The ARN for the directory to which the upgraded schema will be applied.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
The ARN for the directory to which the upgraded schema will be applied.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.
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 major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.
sourcepub fn build(self) -> Result<UpgradeAppliedSchemaInput, BuildError>
pub fn build(self) -> Result<UpgradeAppliedSchemaInput, BuildError>
Consumes the builder and constructs a UpgradeAppliedSchemaInput.
source§impl UpgradeAppliedSchemaInputBuilder
impl UpgradeAppliedSchemaInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpgradeAppliedSchemaOutput, SdkError<UpgradeAppliedSchemaError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpgradeAppliedSchemaOutput, SdkError<UpgradeAppliedSchemaError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpgradeAppliedSchemaInputBuilder
impl Clone for UpgradeAppliedSchemaInputBuilder
source§fn clone(&self) -> UpgradeAppliedSchemaInputBuilder
fn clone(&self) -> UpgradeAppliedSchemaInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpgradeAppliedSchemaInputBuilder
impl Default for UpgradeAppliedSchemaInputBuilder
source§fn default() -> UpgradeAppliedSchemaInputBuilder
fn default() -> UpgradeAppliedSchemaInputBuilder
source§impl PartialEq for UpgradeAppliedSchemaInputBuilder
impl PartialEq for UpgradeAppliedSchemaInputBuilder
source§fn eq(&self, other: &UpgradeAppliedSchemaInputBuilder) -> bool
fn eq(&self, other: &UpgradeAppliedSchemaInputBuilder) -> bool
self and other values to be equal, and is used
by ==.