#[non_exhaustive]pub struct SwapEnvironmentCnamEsInput { /* private fields */ }
Expand description
Swaps the CNAMEs of two environments.
Implementations§
source§impl SwapEnvironmentCnamEsInput
impl SwapEnvironmentCnamEsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SwapEnvironmentCNAMEs, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SwapEnvironmentCNAMEs, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<SwapEnvironmentCNAMEs
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SwapEnvironmentCnamEsInput
.
source§impl SwapEnvironmentCnamEsInput
impl SwapEnvironmentCnamEsInput
sourcepub fn source_environment_id(&self) -> Option<&str>
pub fn source_environment_id(&self) -> Option<&str>
The ID of the source environment.
Condition: You must specify at least the SourceEnvironmentID
or the SourceEnvironmentName
. You may also specify both. If you specify the SourceEnvironmentId
, you must specify the DestinationEnvironmentId
.
sourcepub fn source_environment_name(&self) -> Option<&str>
pub fn source_environment_name(&self) -> Option<&str>
The name of the source environment.
Condition: You must specify at least the SourceEnvironmentID
or the SourceEnvironmentName
. You may also specify both. If you specify the SourceEnvironmentName
, you must specify the DestinationEnvironmentName
.
sourcepub fn destination_environment_id(&self) -> Option<&str>
pub fn destination_environment_id(&self) -> Option<&str>
The ID of the destination environment.
Condition: You must specify at least the DestinationEnvironmentID
or the DestinationEnvironmentName
. You may also specify both. You must specify the SourceEnvironmentId
with the DestinationEnvironmentId
.
sourcepub fn destination_environment_name(&self) -> Option<&str>
pub fn destination_environment_name(&self) -> Option<&str>
The name of the destination environment.
Condition: You must specify at least the DestinationEnvironmentID
or the DestinationEnvironmentName
. You may also specify both. You must specify the SourceEnvironmentName
with the DestinationEnvironmentName
.
Trait Implementations§
source§impl Clone for SwapEnvironmentCnamEsInput
impl Clone for SwapEnvironmentCnamEsInput
source§fn clone(&self) -> SwapEnvironmentCnamEsInput
fn clone(&self) -> SwapEnvironmentCnamEsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SwapEnvironmentCnamEsInput
impl Debug for SwapEnvironmentCnamEsInput
source§impl PartialEq<SwapEnvironmentCnamEsInput> for SwapEnvironmentCnamEsInput
impl PartialEq<SwapEnvironmentCnamEsInput> for SwapEnvironmentCnamEsInput
source§fn eq(&self, other: &SwapEnvironmentCnamEsInput) -> bool
fn eq(&self, other: &SwapEnvironmentCnamEsInput) -> bool
self
and other
values to be equal, and is used
by ==
.