#[non_exhaustive]pub struct StartDiscoveryJobInput {
pub storage_system_arn: Option<String>,
pub collection_duration_minutes: Option<i32>,
pub client_token: Option<String>,
pub tags: Option<Vec<TagListEntry>>,
}
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.storage_system_arn: Option<String>
Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job on.
collection_duration_minutes: Option<i32>
Specifies in minutes how long you want the discovery job to run.
For more accurate recommendations, we recommend a duration of at least 14 days. Longer durations allow time to collect a sufficient number of data points and provide a realistic representation of storage performance and utilization.
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.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
Implementations§
source§impl StartDiscoveryJobInput
impl StartDiscoveryJobInput
sourcepub fn storage_system_arn(&self) -> Option<&str>
pub fn storage_system_arn(&self) -> Option<&str>
Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job on.
sourcepub fn collection_duration_minutes(&self) -> Option<i32>
pub fn collection_duration_minutes(&self) -> Option<i32>
Specifies in minutes how long you want the discovery job to run.
For more accurate recommendations, we recommend a duration of at least 14 days. Longer durations allow time to collect a sufficient number of data points and provide a realistic representation of storage performance and utilization.
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.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
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()
.
source§impl StartDiscoveryJobInput
impl StartDiscoveryJobInput
sourcepub fn builder() -> StartDiscoveryJobInputBuilder
pub fn builder() -> StartDiscoveryJobInputBuilder
Creates a new builder-style object to manufacture StartDiscoveryJobInput
.
Trait Implementations§
source§impl Clone for StartDiscoveryJobInput
impl Clone for StartDiscoveryJobInput
source§fn clone(&self) -> StartDiscoveryJobInput
fn clone(&self) -> StartDiscoveryJobInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartDiscoveryJobInput
impl Debug for StartDiscoveryJobInput
source§impl PartialEq for StartDiscoveryJobInput
impl PartialEq for StartDiscoveryJobInput
source§fn eq(&self, other: &StartDiscoveryJobInput) -> bool
fn eq(&self, other: &StartDiscoveryJobInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartDiscoveryJobInput
Auto Trait Implementations§
impl Freeze for StartDiscoveryJobInput
impl RefUnwindSafe for StartDiscoveryJobInput
impl Send for StartDiscoveryJobInput
impl Sync for StartDiscoveryJobInput
impl Unpin for StartDiscoveryJobInput
impl UnwindSafe for StartDiscoveryJobInput
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