Struct aws_sdk_datasync::operation::generate_recommendations::builders::GenerateRecommendationsFluentBuilder
source · pub struct GenerateRecommendationsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GenerateRecommendations
.
Creates recommendations about where to migrate your data to in Amazon Web Services. Recommendations are generated based on information that DataSync Discovery collects about your on-premises storage system's resources. For more information, see Recommendations provided by DataSync Discovery.
Once generated, you can view your recommendations by using the DescribeStorageSystemResources operation.
If your discovery job completes successfully, you don't need to use this operation. DataSync Discovery generates the recommendations for you automatically.
Implementations§
source§impl GenerateRecommendationsFluentBuilder
impl GenerateRecommendationsFluentBuilder
sourcepub async fn send(
self
) -> Result<GenerateRecommendationsOutput, SdkError<GenerateRecommendationsError>>
pub async fn send( self ) -> Result<GenerateRecommendationsOutput, SdkError<GenerateRecommendationsError>>
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<GenerateRecommendations, AwsResponseRetryClassifier>, SdkError<GenerateRecommendationsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GenerateRecommendations, AwsResponseRetryClassifier>, SdkError<GenerateRecommendationsError>>
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 discovery_job_arn(self, input: impl Into<String>) -> Self
pub fn discovery_job_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the discovery job that collects information about your on-premises storage system.
sourcepub fn set_discovery_job_arn(self, input: Option<String>) -> Self
pub fn set_discovery_job_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the discovery job that collects information about your on-premises storage system.
sourcepub fn resource_ids(self, input: impl Into<String>) -> Self
pub fn resource_ids(self, input: impl Into<String>) -> Self
Appends an item to ResourceIds
.
To override the contents of this collection use set_resource_ids
.
Specifies the universally unique identifiers (UUIDs) of the resources in your storage system that you want recommendations on.
sourcepub fn set_resource_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_resource_ids(self, input: Option<Vec<String>>) -> Self
Specifies the universally unique identifiers (UUIDs) of the resources in your storage system that you want recommendations on.
sourcepub fn resource_type(self, input: DiscoveryResourceType) -> Self
pub fn resource_type(self, input: DiscoveryResourceType) -> Self
Specifies the type of resource in your storage system that you want recommendations on.
sourcepub fn set_resource_type(self, input: Option<DiscoveryResourceType>) -> Self
pub fn set_resource_type(self, input: Option<DiscoveryResourceType>) -> Self
Specifies the type of resource in your storage system that you want recommendations on.
Trait Implementations§
source§impl Clone for GenerateRecommendationsFluentBuilder
impl Clone for GenerateRecommendationsFluentBuilder
source§fn clone(&self) -> GenerateRecommendationsFluentBuilder
fn clone(&self) -> GenerateRecommendationsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more