#[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 ==
.