#[non_exhaustive]pub struct CreateIntegrationInputBuilder { /* private fields */ }Expand description
A builder for CreateIntegrationInput.
Implementations§
source§impl CreateIntegrationInputBuilder
impl CreateIntegrationInputBuilder
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the database to use as the source for replication.
This field is required.sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the database to use as the source for replication.
sourcepub fn get_source_arn(&self) -> &Option<String>
pub fn get_source_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the database to use as the source for replication.
sourcepub fn target_arn(self, input: impl Into<String>) -> Self
pub fn target_arn(self, input: impl Into<String>) -> Self
The ARN of the Redshift data warehouse to use as the target for replication.
This field is required.sourcepub fn set_target_arn(self, input: Option<String>) -> Self
pub fn set_target_arn(self, input: Option<String>) -> Self
The ARN of the Redshift data warehouse to use as the target for replication.
sourcepub fn get_target_arn(&self) -> &Option<String>
pub fn get_target_arn(&self) -> &Option<String>
The ARN of the Redshift data warehouse to use as the target for replication.
sourcepub fn integration_name(self, input: impl Into<String>) -> Self
pub fn integration_name(self, input: impl Into<String>) -> Self
The name of the integration.
This field is required.sourcepub fn set_integration_name(self, input: Option<String>) -> Self
pub fn set_integration_name(self, input: Option<String>) -> Self
The name of the integration.
sourcepub fn get_integration_name(&self) -> &Option<String>
pub fn get_integration_name(&self) -> &Option<String>
The name of the integration.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services Key Management System (Amazon Web Services KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, RDS uses a default Amazon Web Services owned key.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Web Services Key Management System (Amazon Web Services KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, RDS uses a default Amazon Web Services owned key.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The Amazon Web Services Key Management System (Amazon Web Services KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, RDS uses a default Amazon Web Services owned key.
sourcepub fn additional_encryption_context(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn additional_encryption_context( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to additional_encryption_context.
To override the contents of this collection use set_additional_encryption_context.
An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
You can only include this parameter if you specify the KMSKeyId parameter.
sourcepub fn set_additional_encryption_context(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_additional_encryption_context( self, input: Option<HashMap<String, String>> ) -> Self
An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
You can only include this parameter if you specify the KMSKeyId parameter.
sourcepub fn get_additional_encryption_context(
&self
) -> &Option<HashMap<String, String>>
pub fn get_additional_encryption_context( &self ) -> &Option<HashMap<String, String>>
An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
You can only include this parameter if you specify the KMSKeyId parameter.
Appends an item to tags.
To override the contents of this collection use set_tags.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
sourcepub fn build(self) -> Result<CreateIntegrationInput, BuildError>
pub fn build(self) -> Result<CreateIntegrationInput, BuildError>
Consumes the builder and constructs a CreateIntegrationInput.
source§impl CreateIntegrationInputBuilder
impl CreateIntegrationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateIntegrationOutput, SdkError<CreateIntegrationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateIntegrationOutput, SdkError<CreateIntegrationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateIntegrationInputBuilder
impl Clone for CreateIntegrationInputBuilder
source§fn clone(&self) -> CreateIntegrationInputBuilder
fn clone(&self) -> CreateIntegrationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateIntegrationInputBuilder
impl Default for CreateIntegrationInputBuilder
source§fn default() -> CreateIntegrationInputBuilder
fn default() -> CreateIntegrationInputBuilder
source§impl PartialEq for CreateIntegrationInputBuilder
impl PartialEq for CreateIntegrationInputBuilder
source§fn eq(&self, other: &CreateIntegrationInputBuilder) -> bool
fn eq(&self, other: &CreateIntegrationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.