#[non_exhaustive]pub struct RecommendationJobPayloadConfigBuilder { /* private fields */ }
Expand description
A builder for RecommendationJobPayloadConfig
.
Implementations§
source§impl RecommendationJobPayloadConfigBuilder
impl RecommendationJobPayloadConfigBuilder
sourcepub fn sample_payload_url(self, input: impl Into<String>) -> Self
pub fn sample_payload_url(self, input: impl Into<String>) -> Self
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
sourcepub fn set_sample_payload_url(self, input: Option<String>) -> Self
pub fn set_sample_payload_url(self, input: Option<String>) -> Self
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
sourcepub fn get_sample_payload_url(&self) -> &Option<String>
pub fn get_sample_payload_url(&self) -> &Option<String>
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
sourcepub fn supported_content_types(self, input: impl Into<String>) -> Self
pub fn supported_content_types(self, input: impl Into<String>) -> Self
Appends an item to supported_content_types
.
To override the contents of this collection use set_supported_content_types
.
The supported MIME types for the input data.
sourcepub fn set_supported_content_types(self, input: Option<Vec<String>>) -> Self
pub fn set_supported_content_types(self, input: Option<Vec<String>>) -> Self
The supported MIME types for the input data.
sourcepub fn get_supported_content_types(&self) -> &Option<Vec<String>>
pub fn get_supported_content_types(&self) -> &Option<Vec<String>>
The supported MIME types for the input data.
sourcepub fn build(self) -> RecommendationJobPayloadConfig
pub fn build(self) -> RecommendationJobPayloadConfig
Consumes the builder and constructs a RecommendationJobPayloadConfig
.
Trait Implementations§
source§impl Clone for RecommendationJobPayloadConfigBuilder
impl Clone for RecommendationJobPayloadConfigBuilder
source§fn clone(&self) -> RecommendationJobPayloadConfigBuilder
fn clone(&self) -> RecommendationJobPayloadConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RecommendationJobPayloadConfigBuilder
impl Default for RecommendationJobPayloadConfigBuilder
source§fn default() -> RecommendationJobPayloadConfigBuilder
fn default() -> RecommendationJobPayloadConfigBuilder
source§impl PartialEq for RecommendationJobPayloadConfigBuilder
impl PartialEq for RecommendationJobPayloadConfigBuilder
source§fn eq(&self, other: &RecommendationJobPayloadConfigBuilder) -> bool
fn eq(&self, other: &RecommendationJobPayloadConfigBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RecommendationJobPayloadConfigBuilder
Auto Trait Implementations§
impl Freeze for RecommendationJobPayloadConfigBuilder
impl RefUnwindSafe for RecommendationJobPayloadConfigBuilder
impl Send for RecommendationJobPayloadConfigBuilder
impl Sync for RecommendationJobPayloadConfigBuilder
impl Unpin for RecommendationJobPayloadConfigBuilder
impl UnwindSafe for RecommendationJobPayloadConfigBuilder
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