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.
Implementations§
source§impl GenerateRecommendationsFluentBuilder
impl GenerateRecommendationsFluentBuilder
sourcepub fn as_input(&self) -> &GenerateRecommendationsInputBuilder
pub fn as_input(&self) -> &GenerateRecommendationsInputBuilder
Access the GenerateRecommendations as a reference.
sourcepub async fn send(
self
) -> Result<GenerateRecommendationsOutput, SdkError<GenerateRecommendationsError, HttpResponse>>
pub async fn send( self ) -> Result<GenerateRecommendationsOutput, SdkError<GenerateRecommendationsError, HttpResponse>>
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 fn customize(
self
) -> CustomizableOperation<GenerateRecommendationsOutput, GenerateRecommendationsError, Self>
pub fn customize( self ) -> CustomizableOperation<GenerateRecommendationsOutput, GenerateRecommendationsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_discovery_job_arn(&self) -> &Option<String>
pub fn get_discovery_job_arn(&self) -> &Option<String>
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 get_resource_ids(&self) -> &Option<Vec<String>>
pub fn get_resource_ids(&self) -> &Option<Vec<String>>
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.
sourcepub fn get_resource_type(&self) -> &Option<DiscoveryResourceType>
pub fn get_resource_type(&self) -> &Option<DiscoveryResourceType>
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