public static interface Credentials.Builder extends SdkPojo, CopyableBuilder<Credentials.Builder,Credentials>
| Modifier and Type | Method and Description |
|---|---|
default Credentials.Builder |
usernamePassword(Consumer<UsernamePassword.Builder> usernamePassword)
The username and password that you use to connect to cluster endpoints.
|
Credentials.Builder |
usernamePassword(UsernamePassword usernamePassword)
The username and password that you use to connect to cluster endpoints.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCredentials.Builder usernamePassword(UsernamePassword usernamePassword)
The username and password that you use to connect to cluster endpoints.
usernamePassword - The username and password that you use to connect to cluster endpoints.default Credentials.Builder usernamePassword(Consumer<UsernamePassword.Builder> usernamePassword)
The username and password that you use to connect to cluster endpoints.
This is a convenience method that creates an instance of theUsernamePassword.Builder avoiding the
need to create one manually via UsernamePassword.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to usernamePassword(UsernamePassword).
usernamePassword - a consumer that will call methods on UsernamePassword.BuilderusernamePassword(UsernamePassword)Copyright © 2023. All rights reserved.