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 ==
.impl StructuralPartialEq for GenerateRecommendationsInputBuilder
Auto Trait Implementations§
impl Freeze for GenerateRecommendationsInputBuilder
impl RefUnwindSafe for GenerateRecommendationsInputBuilder
impl Send for GenerateRecommendationsInputBuilder
impl Sync for GenerateRecommendationsInputBuilder
impl Unpin for GenerateRecommendationsInputBuilder
impl UnwindSafe for GenerateRecommendationsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more