Interface Credentials.Builder

    • Method Detail

      • accessKeyId

        Credentials.Builder accessKeyId​(String accessKeyId)

        The unique access key ID of the Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.

        Parameters:
        accessKeyId - The unique access key ID of the Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secretAccessKey

        Credentials.Builder secretAccessKey​(String secretAccessKey)

        The secret access key of the Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.

        Parameters:
        secretAccessKey - The secret access key of the Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionToken

        Credentials.Builder sessionToken​(String sessionToken)

        The Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.

        Parameters:
        sessionToken - The Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expiration

        Credentials.Builder expiration​(Instant expiration)

        The expiration date and time of the temporary credential that S3 Access Grants vends to grantees and client applications.

        Parameters:
        expiration - The expiration date and time of the temporary credential that S3 Access Grants vends to grantees and client applications.
        Returns:
        Returns a reference to this object so that method calls can be chained together.