Interface BasicAuthCredentials.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BasicAuthCredentials.Builder,BasicAuthCredentials>,SdkBuilder<BasicAuthCredentials.Builder,BasicAuthCredentials>,SdkPojo
- Enclosing class:
- BasicAuthCredentials
public static interface BasicAuthCredentials.Builder extends SdkPojo, CopyableBuilder<BasicAuthCredentials.Builder,BasicAuthCredentials>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BasicAuthCredentials.Builderpassword(String password)The password to use to connect to a resource.BasicAuthCredentials.Builderusername(String username)The username to use to connect to a resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
username
BasicAuthCredentials.Builder username(String username)
The username to use to connect to a resource.
- Parameters:
username- The username to use to connect to a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
BasicAuthCredentials.Builder password(String password)
The password to use to connect to a resource.
- Parameters:
password- The password to use to connect to a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-