public static final class AwsBasicCredentials.Builder extends Object implements CopyableBuilder<AwsBasicCredentials.Builder,AwsBasicCredentials>
AwsBasicCredentials. This can be created with the static
AwsBasicCredentials.builder() method.| Modifier and Type | Method and Description |
|---|---|
AwsBasicCredentials.Builder |
accessKeyId(String accessKeyId)
The AWS access key, used to identify the user interacting with services.
|
AwsBasicCredentials.Builder |
accountId(String accountId)
The AWS account id associated with this credentials identity.
|
AwsBasicCredentials |
build()
An immutable object that is created from the
properties that have been set on the builder.
|
AwsBasicCredentials.Builder |
providerName(String providerName)
The name of the identity provider that created this credential identity.
|
AwsBasicCredentials.Builder |
secretAccessKey(String secretAccessKey)
The AWS secret access key, used to authenticate the user interacting with services.
|
AwsBasicCredentials.Builder |
validateCredentials(Boolean validateCredentials)
Whether this class should verify that accessKeyId and secretAccessKey are not null.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyapplyMutationpublic AwsBasicCredentials.Builder accessKeyId(String accessKeyId)
public AwsBasicCredentials.Builder secretAccessKey(String secretAccessKey)
public AwsBasicCredentials.Builder accountId(String accountId)
public AwsBasicCredentials.Builder providerName(String providerName)
public AwsBasicCredentials.Builder validateCredentials(Boolean validateCredentials)
public AwsBasicCredentials build()
SdkBuilderbuild in interface Buildablebuild in interface SdkBuilder<AwsBasicCredentials.Builder,AwsBasicCredentials>Copyright © 2026. All rights reserved.