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, sdkFields
copy
applyMutation, build
DataSourceCredentials.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.Builder
credentialPair(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 © 2022. All rights reserved.