Struct aws_sdk_datasync::types::builders::RecommendationBuilder
source · #[non_exhaustive]pub struct RecommendationBuilder { /* private fields */ }
Expand description
A builder for Recommendation
.
Implementations§
source§impl RecommendationBuilder
impl RecommendationBuilder
sourcepub fn storage_type(self, input: impl Into<String>) -> Self
pub fn storage_type(self, input: impl Into<String>) -> Self
A recommended Amazon Web Services storage service that you can migrate data to based on information that DataSync Discovery collects about your on-premises storage system.
sourcepub fn set_storage_type(self, input: Option<String>) -> Self
pub fn set_storage_type(self, input: Option<String>) -> Self
A recommended Amazon Web Services storage service that you can migrate data to based on information that DataSync Discovery collects about your on-premises storage system.
sourcepub fn get_storage_type(&self) -> &Option<String>
pub fn get_storage_type(&self) -> &Option<String>
A recommended Amazon Web Services storage service that you can migrate data to based on information that DataSync Discovery collects about your on-premises storage system.
sourcepub fn storage_configuration(
self,
k: impl Into<String>,
v: impl Into<String>,
) -> Self
pub fn storage_configuration( self, k: impl Into<String>, v: impl Into<String>, ) -> Self
Adds a key-value pair to storage_configuration
.
To override the contents of this collection use set_storage_configuration
.
Information about how you can set up a recommended Amazon Web Services storage service.
sourcepub fn set_storage_configuration(
self,
input: Option<HashMap<String, String>>,
) -> Self
pub fn set_storage_configuration( self, input: Option<HashMap<String, String>>, ) -> Self
Information about how you can set up a recommended Amazon Web Services storage service.
sourcepub fn get_storage_configuration(&self) -> &Option<HashMap<String, String>>
pub fn get_storage_configuration(&self) -> &Option<HashMap<String, String>>
Information about how you can set up a recommended Amazon Web Services storage service.
sourcepub fn estimated_monthly_storage_cost(self, input: impl Into<String>) -> Self
pub fn estimated_monthly_storage_cost(self, input: impl Into<String>) -> Self
The estimated monthly cost of the recommended Amazon Web Services storage service.
sourcepub fn set_estimated_monthly_storage_cost(self, input: Option<String>) -> Self
pub fn set_estimated_monthly_storage_cost(self, input: Option<String>) -> Self
The estimated monthly cost of the recommended Amazon Web Services storage service.
sourcepub fn get_estimated_monthly_storage_cost(&self) -> &Option<String>
pub fn get_estimated_monthly_storage_cost(&self) -> &Option<String>
The estimated monthly cost of the recommended Amazon Web Services storage service.
sourcepub fn build(self) -> Recommendation
pub fn build(self) -> Recommendation
Consumes the builder and constructs a Recommendation
.
Trait Implementations§
source§impl Clone for RecommendationBuilder
impl Clone for RecommendationBuilder
source§fn clone(&self) -> RecommendationBuilder
fn clone(&self) -> RecommendationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecommendationBuilder
impl Debug for RecommendationBuilder
source§impl Default for RecommendationBuilder
impl Default for RecommendationBuilder
source§fn default() -> RecommendationBuilder
fn default() -> RecommendationBuilder
source§impl PartialEq for RecommendationBuilder
impl PartialEq for RecommendationBuilder
impl StructuralPartialEq for RecommendationBuilder
Auto Trait Implementations§
impl Freeze for RecommendationBuilder
impl RefUnwindSafe for RecommendationBuilder
impl Send for RecommendationBuilder
impl Sync for RecommendationBuilder
impl Unpin for RecommendationBuilder
impl UnwindSafe for RecommendationBuilder
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