Struct aws_sdk_quicksight::model::data_source_credentials::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DataSourceCredentials
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn credential_pair(self, input: CredentialPair) -> Self
pub fn credential_pair(self, input: CredentialPair) -> Self
Credential pair. For more information, see CredentialPair
.
sourcepub fn set_credential_pair(self, input: Option<CredentialPair>) -> Self
pub fn set_credential_pair(self, input: Option<CredentialPair>) -> Self
Credential pair. For more information, see CredentialPair
.
sourcepub fn copy_source_arn(self, input: impl Into<String>) -> Self
pub fn copy_source_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn
is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials
structure.
sourcepub fn set_copy_source_arn(self, input: Option<String>) -> Self
pub fn set_copy_source_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn
is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials
structure.
sourcepub fn secret_arn(self, input: impl Into<String>) -> Self
pub fn secret_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
sourcepub fn set_secret_arn(self, input: Option<String>) -> Self
pub fn set_secret_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
sourcepub fn build(self) -> DataSourceCredentials
pub fn build(self) -> DataSourceCredentials
Consumes the builder and constructs a DataSourceCredentials
.