#[non_exhaustive]pub struct TableDataImportJobMetadataBuilder { /* private fields */ }
Expand description
A builder for TableDataImportJobMetadata
.
Implementations§
source§impl TableDataImportJobMetadataBuilder
impl TableDataImportJobMetadataBuilder
sourcepub fn submitter(self, input: ImportJobSubmitter) -> Self
pub fn submitter(self, input: ImportJobSubmitter) -> Self
Details about the submitter of the import request.
This field is required.sourcepub fn set_submitter(self, input: Option<ImportJobSubmitter>) -> Self
pub fn set_submitter(self, input: Option<ImportJobSubmitter>) -> Self
Details about the submitter of the import request.
sourcepub fn get_submitter(&self) -> &Option<ImportJobSubmitter>
pub fn get_submitter(&self) -> &Option<ImportJobSubmitter>
Details about the submitter of the import request.
sourcepub fn submit_time(self, input: DateTime) -> Self
pub fn submit_time(self, input: DateTime) -> Self
The timestamp when the job was submitted for import.
This field is required.sourcepub fn set_submit_time(self, input: Option<DateTime>) -> Self
pub fn set_submit_time(self, input: Option<DateTime>) -> Self
The timestamp when the job was submitted for import.
sourcepub fn get_submit_time(&self) -> &Option<DateTime>
pub fn get_submit_time(&self) -> &Option<DateTime>
The timestamp when the job was submitted for import.
sourcepub fn import_options(self, input: ImportOptions) -> Self
pub fn import_options(self, input: ImportOptions) -> Self
The options that was specified at the time of submitting the import request.
This field is required.sourcepub fn set_import_options(self, input: Option<ImportOptions>) -> Self
pub fn set_import_options(self, input: Option<ImportOptions>) -> Self
The options that was specified at the time of submitting the import request.
sourcepub fn get_import_options(&self) -> &Option<ImportOptions>
pub fn get_import_options(&self) -> &Option<ImportOptions>
The options that was specified at the time of submitting the import request.
sourcepub fn data_source(self, input: ImportDataSource) -> Self
pub fn data_source(self, input: ImportDataSource) -> Self
The source of the data that was submitted for import.
This field is required.sourcepub fn set_data_source(self, input: Option<ImportDataSource>) -> Self
pub fn set_data_source(self, input: Option<ImportDataSource>) -> Self
The source of the data that was submitted for import.
sourcepub fn get_data_source(&self) -> &Option<ImportDataSource>
pub fn get_data_source(&self) -> &Option<ImportDataSource>
The source of the data that was submitted for import.
sourcepub fn build(self) -> Result<TableDataImportJobMetadata, BuildError>
pub fn build(self) -> Result<TableDataImportJobMetadata, BuildError>
Consumes the builder and constructs a TableDataImportJobMetadata
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TableDataImportJobMetadataBuilder
impl Clone for TableDataImportJobMetadataBuilder
source§fn clone(&self) -> TableDataImportJobMetadataBuilder
fn clone(&self) -> TableDataImportJobMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TableDataImportJobMetadataBuilder
impl Default for TableDataImportJobMetadataBuilder
source§fn default() -> TableDataImportJobMetadataBuilder
fn default() -> TableDataImportJobMetadataBuilder
source§impl PartialEq for TableDataImportJobMetadataBuilder
impl PartialEq for TableDataImportJobMetadataBuilder
source§fn eq(&self, other: &TableDataImportJobMetadataBuilder) -> bool
fn eq(&self, other: &TableDataImportJobMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TableDataImportJobMetadataBuilder
Auto Trait Implementations§
impl Freeze for TableDataImportJobMetadataBuilder
impl RefUnwindSafe for TableDataImportJobMetadataBuilder
impl Send for TableDataImportJobMetadataBuilder
impl Sync for TableDataImportJobMetadataBuilder
impl Unpin for TableDataImportJobMetadataBuilder
impl UnwindSafe for TableDataImportJobMetadataBuilder
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> 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