public static interface DataSourceCredentials.Builder extends SdkPojo, CopyableBuilder<DataSourceCredentials.Builder,DataSourceCredentials>
| Modifier and Type | Method and Description |
|---|---|
DataSourceCredentials.Builder |
copySourceArn(String copySourceArn)
The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
|
default DataSourceCredentials.Builder |
credentialPair(Consumer<CredentialPair.Builder> credentialPair)
Credential pair.
|
DataSourceCredentials.Builder |
credentialPair(CredentialPair credentialPair)
Credential pair.
|
DataSourceCredentials.Builder |
secretArn(String secretArn)
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDataSourceCredentials.Builder credentialPair(CredentialPair credentialPair)
Credential pair. For more information, see
CredentialPair
.
credentialPair - Credential pair. For more information, see
CredentialPair
.default DataSourceCredentials.Builder credentialPair(Consumer<CredentialPair.Builder> credentialPair)
Credential pair. For more information, see
CredentialPair
.
CredentialPair.Builder avoiding the need
to create one manually via CredentialPair.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to credentialPair(CredentialPair).
credentialPair - a consumer that will call methods on CredentialPair.BuildercredentialPair(CredentialPair)DataSourceCredentials.Builder copySourceArn(String copySourceArn)
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.
copySourceArn - 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.DataSourceCredentials.Builder secretArn(String secretArn)
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
secretArn - The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets
Manager.Copyright © 2023. All rights reserved.