Interface AwsCredentials.Builder

    • Method Detail

      • accessKeyId

        AwsCredentials.Builder accessKeyId​(String accessKeyId)

        The IAM access key ID.

        Parameters:
        accessKeyId - The IAM access key ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expiration

        AwsCredentials.Builder expiration​(Instant expiration)

        The expiration date and time of the IAM credentials.

        Parameters:
        expiration - The expiration date and time of the IAM credentials.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secretAccessKey

        AwsCredentials.Builder secretAccessKey​(String secretAccessKey)

        The IAM secret access key.

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

        AwsCredentials.Builder sessionToken​(String sessionToken)

        The IAM session token

        Parameters:
        sessionToken - The IAM session token
        Returns:
        Returns a reference to this object so that method calls can be chained together.