Struct aws_sdk_datasync::operation::start_discovery_job::builders::StartDiscoveryJobInputBuilder
source · #[non_exhaustive]pub struct StartDiscoveryJobInputBuilder { /* private fields */ }
Expand description
A builder for StartDiscoveryJobInput
.
Implementations§
source§impl StartDiscoveryJobInputBuilder
impl StartDiscoveryJobInputBuilder
sourcepub fn storage_system_arn(self, input: impl Into<String>) -> Self
pub fn storage_system_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job on.
This field is required.sourcepub fn set_storage_system_arn(self, input: Option<String>) -> Self
pub fn set_storage_system_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job on.
sourcepub fn get_storage_system_arn(&self) -> &Option<String>
pub fn get_storage_system_arn(&self) -> &Option<String>
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, input: i32) -> Self
pub fn collection_duration_minutes(self, input: i32) -> Self
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 set_collection_duration_minutes(self, input: Option<i32>) -> Self
pub fn set_collection_duration_minutes(self, input: Option<i32>) -> Self
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 get_collection_duration_minutes(&self) -> &Option<i32>
pub fn get_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, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
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.
This field is required.sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
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 get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
sourcepub fn build(self) -> Result<StartDiscoveryJobInput, BuildError>
pub fn build(self) -> Result<StartDiscoveryJobInput, BuildError>
Consumes the builder and constructs a StartDiscoveryJobInput
.
source§impl StartDiscoveryJobInputBuilder
impl StartDiscoveryJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartDiscoveryJobOutput, SdkError<StartDiscoveryJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartDiscoveryJobOutput, SdkError<StartDiscoveryJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartDiscoveryJobInputBuilder
impl Clone for StartDiscoveryJobInputBuilder
source§fn clone(&self) -> StartDiscoveryJobInputBuilder
fn clone(&self) -> StartDiscoveryJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartDiscoveryJobInputBuilder
impl Default for StartDiscoveryJobInputBuilder
source§fn default() -> StartDiscoveryJobInputBuilder
fn default() -> StartDiscoveryJobInputBuilder
source§impl PartialEq for StartDiscoveryJobInputBuilder
impl PartialEq for StartDiscoveryJobInputBuilder
source§fn eq(&self, other: &StartDiscoveryJobInputBuilder) -> bool
fn eq(&self, other: &StartDiscoveryJobInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartDiscoveryJobInputBuilder
Auto Trait Implementations§
impl Freeze for StartDiscoveryJobInputBuilder
impl RefUnwindSafe for StartDiscoveryJobInputBuilder
impl Send for StartDiscoveryJobInputBuilder
impl Sync for StartDiscoveryJobInputBuilder
impl Unpin for StartDiscoveryJobInputBuilder
impl UnwindSafe for StartDiscoveryJobInputBuilder
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> 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