Struct aws_sdk_timestreamwrite::operation::create_batch_load_task::builders::CreateBatchLoadTaskInputBuilder
source · #[non_exhaustive]pub struct CreateBatchLoadTaskInputBuilder { /* private fields */ }
Expand description
A builder for CreateBatchLoadTaskInput
.
Implementations§
source§impl CreateBatchLoadTaskInputBuilder
impl CreateBatchLoadTaskInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
sourcepub fn data_model_configuration(self, input: DataModelConfiguration) -> Self
pub fn data_model_configuration(self, input: DataModelConfiguration) -> Self
sourcepub fn set_data_model_configuration(
self,
input: Option<DataModelConfiguration>,
) -> Self
pub fn set_data_model_configuration( self, input: Option<DataModelConfiguration>, ) -> Self
sourcepub fn get_data_model_configuration(&self) -> &Option<DataModelConfiguration>
pub fn get_data_model_configuration(&self) -> &Option<DataModelConfiguration>
sourcepub fn data_source_configuration(self, input: DataSourceConfiguration) -> Self
pub fn data_source_configuration(self, input: DataSourceConfiguration) -> Self
Defines configuration details about the data source for a batch load task.
This field is required.sourcepub fn set_data_source_configuration(
self,
input: Option<DataSourceConfiguration>,
) -> Self
pub fn set_data_source_configuration( self, input: Option<DataSourceConfiguration>, ) -> Self
Defines configuration details about the data source for a batch load task.
sourcepub fn get_data_source_configuration(&self) -> &Option<DataSourceConfiguration>
pub fn get_data_source_configuration(&self) -> &Option<DataSourceConfiguration>
Defines configuration details about the data source for a batch load task.
sourcepub fn report_configuration(self, input: ReportConfiguration) -> Self
pub fn report_configuration(self, input: ReportConfiguration) -> Self
Report configuration for a batch load task. This contains details about where error reports are stored.
This field is required.sourcepub fn set_report_configuration(
self,
input: Option<ReportConfiguration>,
) -> Self
pub fn set_report_configuration( self, input: Option<ReportConfiguration>, ) -> Self
Report configuration for a batch load task. This contains details about where error reports are stored.
sourcepub fn get_report_configuration(&self) -> &Option<ReportConfiguration>
pub fn get_report_configuration(&self) -> &Option<ReportConfiguration>
Report configuration for a batch load task. This contains details about where error reports are stored.
sourcepub fn target_database_name(self, input: impl Into<String>) -> Self
pub fn target_database_name(self, input: impl Into<String>) -> Self
Target Timestream database for a batch load task.
This field is required.sourcepub fn set_target_database_name(self, input: Option<String>) -> Self
pub fn set_target_database_name(self, input: Option<String>) -> Self
Target Timestream database for a batch load task.
sourcepub fn get_target_database_name(&self) -> &Option<String>
pub fn get_target_database_name(&self) -> &Option<String>
Target Timestream database for a batch load task.
sourcepub fn target_table_name(self, input: impl Into<String>) -> Self
pub fn target_table_name(self, input: impl Into<String>) -> Self
Target Timestream table for a batch load task.
This field is required.sourcepub fn set_target_table_name(self, input: Option<String>) -> Self
pub fn set_target_table_name(self, input: Option<String>) -> Self
Target Timestream table for a batch load task.
sourcepub fn get_target_table_name(&self) -> &Option<String>
pub fn get_target_table_name(&self) -> &Option<String>
Target Timestream table for a batch load task.
sourcepub fn record_version(self, input: i64) -> Self
pub fn record_version(self, input: i64) -> Self
sourcepub fn set_record_version(self, input: Option<i64>) -> Self
pub fn set_record_version(self, input: Option<i64>) -> Self
sourcepub fn get_record_version(&self) -> &Option<i64>
pub fn get_record_version(&self) -> &Option<i64>
sourcepub fn build(self) -> Result<CreateBatchLoadTaskInput, BuildError>
pub fn build(self) -> Result<CreateBatchLoadTaskInput, BuildError>
Consumes the builder and constructs a CreateBatchLoadTaskInput
.
source§impl CreateBatchLoadTaskInputBuilder
impl CreateBatchLoadTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateBatchLoadTaskOutput, SdkError<CreateBatchLoadTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateBatchLoadTaskOutput, SdkError<CreateBatchLoadTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateBatchLoadTaskInputBuilder
impl Clone for CreateBatchLoadTaskInputBuilder
source§fn clone(&self) -> CreateBatchLoadTaskInputBuilder
fn clone(&self) -> CreateBatchLoadTaskInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateBatchLoadTaskInputBuilder
impl Default for CreateBatchLoadTaskInputBuilder
source§fn default() -> CreateBatchLoadTaskInputBuilder
fn default() -> CreateBatchLoadTaskInputBuilder
source§impl PartialEq for CreateBatchLoadTaskInputBuilder
impl PartialEq for CreateBatchLoadTaskInputBuilder
source§fn eq(&self, other: &CreateBatchLoadTaskInputBuilder) -> bool
fn eq(&self, other: &CreateBatchLoadTaskInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateBatchLoadTaskInputBuilder
Auto Trait Implementations§
impl Freeze for CreateBatchLoadTaskInputBuilder
impl RefUnwindSafe for CreateBatchLoadTaskInputBuilder
impl Send for CreateBatchLoadTaskInputBuilder
impl Sync for CreateBatchLoadTaskInputBuilder
impl Unpin for CreateBatchLoadTaskInputBuilder
impl UnwindSafe for CreateBatchLoadTaskInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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