#[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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for RecommendationJobPayloadConfigBuilder
impl Default for RecommendationJobPayloadConfigBuilder
source§fn default() -> RecommendationJobPayloadConfigBuilder
fn default() -> RecommendationJobPayloadConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RecommendationJobPayloadConfigBuilder> for RecommendationJobPayloadConfigBuilder
impl PartialEq<RecommendationJobPayloadConfigBuilder> for RecommendationJobPayloadConfigBuilder
source§fn eq(&self, other: &RecommendationJobPayloadConfigBuilder) -> bool
fn eq(&self, other: &RecommendationJobPayloadConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.