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
impl StructuralPartialEq for JobManifestSpecBuilder
Auto Trait Implementations§
impl Freeze for JobManifestSpecBuilder
impl RefUnwindSafe for JobManifestSpecBuilder
impl Send for JobManifestSpecBuilder
impl Sync for JobManifestSpecBuilder
impl Unpin for JobManifestSpecBuilder
impl UnwindSafe for JobManifestSpecBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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