Struct aws_sdk_appintegrations::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder
source · pub struct CreateDataIntegrationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateDataIntegration
.
Creates and persists a DataIntegration resource.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration
API.
Implementations§
source§impl CreateDataIntegrationFluentBuilder
impl CreateDataIntegrationFluentBuilder
sourcepub fn as_input(&self) -> &CreateDataIntegrationInputBuilder
pub fn as_input(&self) -> &CreateDataIntegrationInputBuilder
Access the CreateDataIntegration as a reference.
sourcepub async fn send(
self
) -> Result<CreateDataIntegrationOutput, SdkError<CreateDataIntegrationError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDataIntegrationOutput, SdkError<CreateDataIntegrationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateDataIntegrationOutput, CreateDataIntegrationError>, SdkError<CreateDataIntegrationError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateDataIntegrationOutput, CreateDataIntegrationError>, SdkError<CreateDataIntegrationError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 ObjectConfiguration
.
To override the contents of this collection use set_object_configuration
.
The configuration for what data should be pulled from the source.
Trait Implementations§
source§impl Clone for CreateDataIntegrationFluentBuilder
impl Clone for CreateDataIntegrationFluentBuilder
source§fn clone(&self) -> CreateDataIntegrationFluentBuilder
fn clone(&self) -> CreateDataIntegrationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more