Struct aws_sdk_appsync::types::builders::RdsDataApiConfigBuilder
source · #[non_exhaustive]pub struct RdsDataApiConfigBuilder { /* private fields */ }
Expand description
A builder for RdsDataApiConfig
.
Implementations§
source§impl RdsDataApiConfigBuilder
impl RdsDataApiConfigBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The resource ARN of the RDS cluster.
This field is required.sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The resource ARN of the RDS cluster.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The resource ARN of the RDS cluster.
sourcepub fn secret_arn(self, input: impl Into<String>) -> Self
pub fn secret_arn(self, input: impl Into<String>) -> Self
The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
This field is required.sourcepub fn set_secret_arn(self, input: Option<String>) -> Self
pub fn set_secret_arn(self, input: Option<String>) -> Self
The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
sourcepub fn get_secret_arn(&self) -> &Option<String>
pub fn get_secret_arn(&self) -> &Option<String>
The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the database in the cluster.
This field is required.sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the database in the cluster.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the database in the cluster.
sourcepub fn build(self) -> Result<RdsDataApiConfig, BuildError>
pub fn build(self) -> Result<RdsDataApiConfig, BuildError>
Consumes the builder and constructs a RdsDataApiConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RdsDataApiConfigBuilder
impl Clone for RdsDataApiConfigBuilder
source§fn clone(&self) -> RdsDataApiConfigBuilder
fn clone(&self) -> RdsDataApiConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RdsDataApiConfigBuilder
impl Debug for RdsDataApiConfigBuilder
source§impl Default for RdsDataApiConfigBuilder
impl Default for RdsDataApiConfigBuilder
source§fn default() -> RdsDataApiConfigBuilder
fn default() -> RdsDataApiConfigBuilder
source§impl PartialEq for RdsDataApiConfigBuilder
impl PartialEq for RdsDataApiConfigBuilder
source§fn eq(&self, other: &RdsDataApiConfigBuilder) -> bool
fn eq(&self, other: &RdsDataApiConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.