Struct aws_sdk_drs::types::SourceCloudProperties
source · #[non_exhaustive]pub struct SourceCloudProperties {
pub origin_account_id: Option<String>,
pub origin_region: Option<String>,
pub origin_availability_zone: Option<String>,
pub source_outpost_arn: Option<String>,
}Expand description
Properties of the cloud environment where this Source Server originated from.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.origin_account_id: Option<String>AWS Account ID for an EC2-originated Source Server.
origin_region: Option<String>AWS Region for an EC2-originated Source Server.
origin_availability_zone: Option<String>AWS Availability Zone for an EC2-originated Source Server.
source_outpost_arn: Option<String>The ARN of the source Outpost
Implementations§
source§impl SourceCloudProperties
impl SourceCloudProperties
sourcepub fn origin_account_id(&self) -> Option<&str>
pub fn origin_account_id(&self) -> Option<&str>
AWS Account ID for an EC2-originated Source Server.
sourcepub fn origin_region(&self) -> Option<&str>
pub fn origin_region(&self) -> Option<&str>
AWS Region for an EC2-originated Source Server.
sourcepub fn origin_availability_zone(&self) -> Option<&str>
pub fn origin_availability_zone(&self) -> Option<&str>
AWS Availability Zone for an EC2-originated Source Server.
sourcepub fn source_outpost_arn(&self) -> Option<&str>
pub fn source_outpost_arn(&self) -> Option<&str>
The ARN of the source Outpost
source§impl SourceCloudProperties
impl SourceCloudProperties
sourcepub fn builder() -> SourceCloudPropertiesBuilder
pub fn builder() -> SourceCloudPropertiesBuilder
Creates a new builder-style object to manufacture SourceCloudProperties.
Trait Implementations§
source§impl Clone for SourceCloudProperties
impl Clone for SourceCloudProperties
source§fn clone(&self) -> SourceCloudProperties
fn clone(&self) -> SourceCloudProperties
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SourceCloudProperties
impl Debug for SourceCloudProperties
source§impl PartialEq for SourceCloudProperties
impl PartialEq for SourceCloudProperties
source§fn eq(&self, other: &SourceCloudProperties) -> bool
fn eq(&self, other: &SourceCloudProperties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SourceCloudProperties
Auto Trait Implementations§
impl Freeze for SourceCloudProperties
impl RefUnwindSafe for SourceCloudProperties
impl Send for SourceCloudProperties
impl Sync for SourceCloudProperties
impl Unpin for SourceCloudProperties
impl UnwindSafe for SourceCloudProperties
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.