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.
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.
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 ==
.