#[non_exhaustive]pub struct AddStorageSystemInput {
pub server_configuration: Option<DiscoveryServerConfiguration>,
pub system_type: Option<DiscoverySystemType>,
pub agent_arns: Option<Vec<String>>,
pub cloud_watch_log_group_arn: Option<String>,
pub tags: Option<Vec<TagListEntry>>,
pub name: Option<String>,
pub client_token: Option<String>,
pub credentials: Option<Credentials>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.server_configuration: Option<DiscoveryServerConfiguration>
Specifies the server name and network port required to connect with the management interface of your on-premises storage system.
system_type: Option<DiscoverySystemType>
Specifies the type of on-premises storage system that you want DataSync Discovery to collect information about.
DataSync Discovery currently supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS (AFF) systems running ONTAP 9.7 or later.
agent_arns: Option<Vec<String>>
Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads from your on-premises storage system's management interface. You can only specify one ARN.
cloud_watch_log_group_arn: Option<String>
Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your on-premises storage system.
name: Option<String>
Specifies a familiar name for your on-premises storage system.
client_token: Option<String>
Specifies a client token to make sure requests with this API operation are idempotent. If you don't specify a client token, DataSync generates one for you automatically.
credentials: Option<Credentials>
Specifies the user name and password for accessing your on-premises storage system's management interface.
Implementations§
source§impl AddStorageSystemInput
impl AddStorageSystemInput
sourcepub fn server_configuration(&self) -> Option<&DiscoveryServerConfiguration>
pub fn server_configuration(&self) -> Option<&DiscoveryServerConfiguration>
Specifies the server name and network port required to connect with the management interface of your on-premises storage system.
sourcepub fn system_type(&self) -> Option<&DiscoverySystemType>
pub fn system_type(&self) -> Option<&DiscoverySystemType>
Specifies the type of on-premises storage system that you want DataSync Discovery to collect information about.
DataSync Discovery currently supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS (AFF) systems running ONTAP 9.7 or later.
sourcepub fn agent_arns(&self) -> &[String]
pub fn agent_arns(&self) -> &[String]
Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads from your on-premises storage system's management interface. You can only specify one ARN.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .agent_arns.is_none()
.
sourcepub fn cloud_watch_log_group_arn(&self) -> Option<&str>
pub fn cloud_watch_log_group_arn(&self) -> Option<&str>
Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your on-premises storage system.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Specifies a familiar name for your on-premises storage system.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Specifies a client token to make sure requests with this API operation are idempotent. If you don't specify a client token, DataSync generates one for you automatically.
sourcepub fn credentials(&self) -> Option<&Credentials>
pub fn credentials(&self) -> Option<&Credentials>
Specifies the user name and password for accessing your on-premises storage system's management interface.
source§impl AddStorageSystemInput
impl AddStorageSystemInput
sourcepub fn builder() -> AddStorageSystemInputBuilder
pub fn builder() -> AddStorageSystemInputBuilder
Creates a new builder-style object to manufacture AddStorageSystemInput
.
Trait Implementations§
source§impl Clone for AddStorageSystemInput
impl Clone for AddStorageSystemInput
source§fn clone(&self) -> AddStorageSystemInput
fn clone(&self) -> AddStorageSystemInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddStorageSystemInput
impl Debug for AddStorageSystemInput
source§impl PartialEq for AddStorageSystemInput
impl PartialEq for AddStorageSystemInput
source§fn eq(&self, other: &AddStorageSystemInput) -> bool
fn eq(&self, other: &AddStorageSystemInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddStorageSystemInput
Auto Trait Implementations§
impl Freeze for AddStorageSystemInput
impl RefUnwindSafe for AddStorageSystemInput
impl Send for AddStorageSystemInput
impl Sync for AddStorageSystemInput
impl Unpin for AddStorageSystemInput
impl UnwindSafe for AddStorageSystemInput
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
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)
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>
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>
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 more