Struct aws_sdk_datasync::operation::generate_recommendations::builders::GenerateRecommendationsInputBuilder
source · #[non_exhaustive]pub struct GenerateRecommendationsInputBuilder { /* private fields */ }
Expand description
A builder for GenerateRecommendationsInput
.
Implementations§
source§impl GenerateRecommendationsInputBuilder
impl GenerateRecommendationsInputBuilder
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.
This field is required.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 resource_ids
.
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.
This field is required.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.
sourcepub fn build(self) -> Result<GenerateRecommendationsInput, BuildError>
pub fn build(self) -> Result<GenerateRecommendationsInput, BuildError>
Consumes the builder and constructs a GenerateRecommendationsInput
.
source§impl GenerateRecommendationsInputBuilder
impl GenerateRecommendationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GenerateRecommendationsOutput, SdkError<GenerateRecommendationsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GenerateRecommendationsOutput, SdkError<GenerateRecommendationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GenerateRecommendationsInputBuilder
impl Clone for GenerateRecommendationsInputBuilder
source§fn clone(&self) -> GenerateRecommendationsInputBuilder
fn clone(&self) -> GenerateRecommendationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GenerateRecommendationsInputBuilder
impl Default for GenerateRecommendationsInputBuilder
source§fn default() -> GenerateRecommendationsInputBuilder
fn default() -> GenerateRecommendationsInputBuilder
source§impl PartialEq for GenerateRecommendationsInputBuilder
impl PartialEq for GenerateRecommendationsInputBuilder
source§fn eq(&self, other: &GenerateRecommendationsInputBuilder) -> bool
fn eq(&self, other: &GenerateRecommendationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.