Struct aws_sdk_s3control::types::builders::JobManifestSpecBuilder
source · #[non_exhaustive]pub struct JobManifestSpecBuilder { /* private fields */ }Expand description
A builder for JobManifestSpec.
Implementations§
source§impl JobManifestSpecBuilder
impl JobManifestSpecBuilder
sourcepub fn format(self, input: JobManifestFormat) -> Self
pub fn format(self, input: JobManifestFormat) -> Self
Indicates which of the available formats the specified manifest uses.
This field is required.sourcepub fn set_format(self, input: Option<JobManifestFormat>) -> Self
pub fn set_format(self, input: Option<JobManifestFormat>) -> Self
Indicates which of the available formats the specified manifest uses.
sourcepub fn get_format(&self) -> &Option<JobManifestFormat>
pub fn get_format(&self) -> &Option<JobManifestFormat>
Indicates which of the available formats the specified manifest uses.
sourcepub fn fields(self, input: JobManifestFieldName) -> Self
pub fn fields(self, input: JobManifestFieldName) -> Self
Appends an item to fields.
To override the contents of this collection use set_fields.
If the specified manifest object is in the S3BatchOperations_CSV_20180820 format, this element describes which columns contain the required data.
sourcepub fn set_fields(self, input: Option<Vec<JobManifestFieldName>>) -> Self
pub fn set_fields(self, input: Option<Vec<JobManifestFieldName>>) -> Self
If the specified manifest object is in the S3BatchOperations_CSV_20180820 format, this element describes which columns contain the required data.
sourcepub fn get_fields(&self) -> &Option<Vec<JobManifestFieldName>>
pub fn get_fields(&self) -> &Option<Vec<JobManifestFieldName>>
If the specified manifest object is in the S3BatchOperations_CSV_20180820 format, this element describes which columns contain the required data.
sourcepub fn build(self) -> Result<JobManifestSpec, BuildError>
pub fn build(self) -> Result<JobManifestSpec, BuildError>
Consumes the builder and constructs a JobManifestSpec.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for JobManifestSpecBuilder
impl Clone for JobManifestSpecBuilder
source§fn clone(&self) -> JobManifestSpecBuilder
fn clone(&self) -> JobManifestSpecBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for JobManifestSpecBuilder
impl Debug for JobManifestSpecBuilder
source§impl Default for JobManifestSpecBuilder
impl Default for JobManifestSpecBuilder
source§fn default() -> JobManifestSpecBuilder
fn default() -> JobManifestSpecBuilder
source§impl PartialEq for JobManifestSpecBuilder
impl PartialEq for JobManifestSpecBuilder
source§fn eq(&self, other: &JobManifestSpecBuilder) -> bool
fn eq(&self, other: &JobManifestSpecBuilder) -> bool
self and other values to be equal, and is used
by ==.