Interface GetDataAccessResponse.Builder

  • Method Details

    • credentials

      GetDataAccessResponse.Builder credentials(Credentials credentials)

      The temporary credential token that S3 Access Grants vends.

      Parameters:
      credentials - The temporary credential token that S3 Access Grants vends.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentials

      default GetDataAccessResponse.Builder credentials(Consumer<Credentials.Builder> credentials)

      The temporary credential token that S3 Access Grants vends.

      This is a convenience method that creates an instance of the Credentials.Builder avoiding the need to create one manually via Credentials.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to credentials(Credentials).

      Parameters:
      credentials - a consumer that will call methods on Credentials.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • matchedGrantTarget

      GetDataAccessResponse.Builder matchedGrantTarget(String matchedGrantTarget)

      The S3 URI path of the data to which you are being granted temporary access credentials.

      Parameters:
      matchedGrantTarget - The S3 URI path of the data to which you are being granted temporary access credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.