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.
|
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.
This is a convenience that creates an instance of theCredentialPair.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.Copyright © 2020. All rights reserved.