Struct aws_sdk_appintegrations::operation::create_data_integration::builders::CreateDataIntegrationInputBuilder
source · #[non_exhaustive]pub struct CreateDataIntegrationInputBuilder { /* private fields */ }
Expand description
A builder for CreateDataIntegrationInput
.
Implementations§
source§impl CreateDataIntegrationInputBuilder
impl CreateDataIntegrationInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the DataIntegration.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the DataIntegration.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the DataIntegration.
sourcepub fn set_kms_key(self, input: Option<String>) -> Self
pub fn set_kms_key(self, input: Option<String>) -> Self
The KMS key for the DataIntegration.
sourcepub fn get_kms_key(&self) -> &Option<String>
pub fn get_kms_key(&self) -> &Option<String>
The KMS key for the DataIntegration.
sourcepub fn source_uri(self, input: impl Into<String>) -> Self
pub fn source_uri(self, input: impl Into<String>) -> Self
The URI of the data source.
sourcepub fn set_source_uri(self, input: Option<String>) -> Self
pub fn set_source_uri(self, input: Option<String>) -> Self
The URI of the data source.
sourcepub fn get_source_uri(&self) -> &Option<String>
pub fn get_source_uri(&self) -> &Option<String>
The URI of the data source.
sourcepub fn schedule_config(self, input: ScheduleConfiguration) -> Self
pub fn schedule_config(self, input: ScheduleConfiguration) -> Self
The name of the data and how often it should be pulled from the source.
sourcepub fn set_schedule_config(self, input: Option<ScheduleConfiguration>) -> Self
pub fn set_schedule_config(self, input: Option<ScheduleConfiguration>) -> Self
The name of the data and how often it should be pulled from the source.
sourcepub fn get_schedule_config(&self) -> &Option<ScheduleConfiguration>
pub fn get_schedule_config(&self) -> &Option<ScheduleConfiguration>
The name of the data and how often it should be pulled from the source.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn file_configuration(self, input: FileConfiguration) -> Self
pub fn file_configuration(self, input: FileConfiguration) -> Self
The configuration for what files should be pulled from the source.
sourcepub fn set_file_configuration(self, input: Option<FileConfiguration>) -> Self
pub fn set_file_configuration(self, input: Option<FileConfiguration>) -> Self
The configuration for what files should be pulled from the source.
sourcepub fn get_file_configuration(&self) -> &Option<FileConfiguration>
pub fn get_file_configuration(&self) -> &Option<FileConfiguration>
The configuration for what files should be pulled from the source.
sourcepub fn object_configuration(
self,
k: impl Into<String>,
v: HashMap<String, Vec<String>>
) -> Self
pub fn object_configuration( self, k: impl Into<String>, v: HashMap<String, Vec<String>> ) -> Self
Adds a key-value pair to object_configuration
.
To override the contents of this collection use set_object_configuration
.
The configuration for what data should be pulled from the source.
sourcepub fn set_object_configuration(
self,
input: Option<HashMap<String, HashMap<String, Vec<String>>>>
) -> Self
pub fn set_object_configuration( self, input: Option<HashMap<String, HashMap<String, Vec<String>>>> ) -> Self
The configuration for what data should be pulled from the source.
sourcepub fn get_object_configuration(
&self
) -> &Option<HashMap<String, HashMap<String, Vec<String>>>>
pub fn get_object_configuration( &self ) -> &Option<HashMap<String, HashMap<String, Vec<String>>>>
The configuration for what data should be pulled from the source.
sourcepub fn build(self) -> Result<CreateDataIntegrationInput, BuildError>
pub fn build(self) -> Result<CreateDataIntegrationInput, BuildError>
Consumes the builder and constructs a CreateDataIntegrationInput
.
source§impl CreateDataIntegrationInputBuilder
impl CreateDataIntegrationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDataIntegrationOutput, SdkError<CreateDataIntegrationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDataIntegrationOutput, SdkError<CreateDataIntegrationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDataIntegrationInputBuilder
impl Clone for CreateDataIntegrationInputBuilder
source§fn clone(&self) -> CreateDataIntegrationInputBuilder
fn clone(&self) -> CreateDataIntegrationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateDataIntegrationInputBuilder
impl Default for CreateDataIntegrationInputBuilder
source§fn default() -> CreateDataIntegrationInputBuilder
fn default() -> CreateDataIntegrationInputBuilder
source§impl PartialEq<CreateDataIntegrationInputBuilder> for CreateDataIntegrationInputBuilder
impl PartialEq<CreateDataIntegrationInputBuilder> for CreateDataIntegrationInputBuilder
source§fn eq(&self, other: &CreateDataIntegrationInputBuilder) -> bool
fn eq(&self, other: &CreateDataIntegrationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.