Interface AwsCredentials.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AwsCredentials.Builder,AwsCredentials>, SdkBuilder<AwsCredentials.Builder,AwsCredentials>, SdkPojo
Enclosing class:
AwsCredentials

public static interface AwsCredentials.Builder extends SdkPojo, CopyableBuilder<AwsCredentials.Builder,AwsCredentials>
  • Method Details

    • accessKeyId

      AwsCredentials.Builder accessKeyId(String accessKeyId)

      The unique identifier for the security credentials.

      Parameters:
      accessKeyId - The unique identifier for the security credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secretAccessKey

      AwsCredentials.Builder secretAccessKey(String secretAccessKey)

      The secret access key that can be used to sign requests.

      Parameters:
      secretAccessKey - The secret access key that can be used to sign requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionToken

      AwsCredentials.Builder sessionToken(String sessionToken)

      The token that users must pass to use the credentials.

      Parameters:
      sessionToken - The token that users must pass to use the credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiration

      AwsCredentials.Builder expiration(Long expiration)

      The Epoch time when the current credentials expire.

      Parameters:
      expiration - The Epoch time when the current credentials expire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.