Struct aws_sdk_datasync::operation::start_discovery_job::builders::StartDiscoveryJobFluentBuilder
source · pub struct StartDiscoveryJobFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartDiscoveryJob
.
Runs a DataSync discovery job on your on-premises storage system. If you haven't added the storage system to DataSync Discovery yet, do this first by using the AddStorageSystem operation.
Implementations§
source§impl StartDiscoveryJobFluentBuilder
impl StartDiscoveryJobFluentBuilder
sourcepub async fn send(
self
) -> Result<StartDiscoveryJobOutput, SdkError<StartDiscoveryJobError>>
pub async fn send( self ) -> Result<StartDiscoveryJobOutput, SdkError<StartDiscoveryJobError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartDiscoveryJob, AwsResponseRetryClassifier>, SdkError<StartDiscoveryJobError>>
pub async fn customize( self ) -> Result<CustomizableOperation<StartDiscoveryJob, AwsResponseRetryClassifier>, SdkError<StartDiscoveryJobError>>
Consumes this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
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.
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 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 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.
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.
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.
Trait Implementations§
source§impl Clone for StartDiscoveryJobFluentBuilder
impl Clone for StartDiscoveryJobFluentBuilder
source§fn clone(&self) -> StartDiscoveryJobFluentBuilder
fn clone(&self) -> StartDiscoveryJobFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more