Class AwsSessionCredentials.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • secretAccessKey

        public AwsSessionCredentials.Builder secretAccessKey​(String secretAccessKey)
        The AWS secret access key, used to authenticate the user interacting with services. Required
      • sessionToken

        public AwsSessionCredentials.Builder sessionToken​(String sessionToken)
        The AWS session token, retrieved from an AWS token service, used for authenticating that this user has received temporary permission to access some resource. Required
      • expirationTime

        public AwsSessionCredentials.Builder expirationTime​(Instant expirationTime)
        The time after which this identity will no longer be valid. If this is empty, an expiration time is not known (but the identity may still expire at some time in the future).