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.
    • grantee

      The user, group, or role that was granted access to the S3 location scope. For directory identities, this API also returns the grants of the IAM role used for the identity-aware request. For more information on identity-aware sessions, see Granting permissions to use identity-aware console sessions.

      Parameters:
      grantee - The user, group, or role that was granted access to the S3 location scope. For directory identities, this API also returns the grants of the IAM role used for the identity-aware request. For more information on identity-aware sessions, see Granting permissions to use identity-aware console sessions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantee

      The user, group, or role that was granted access to the S3 location scope. For directory identities, this API also returns the grants of the IAM role used for the identity-aware request. For more information on identity-aware sessions, see Granting permissions to use identity-aware console sessions.

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

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

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

      GetDataAccessResponse.Builder matchedInstanceArn(String matchedInstanceArn)

      The Amazon Resource Name (ARN) of the S3 Access Grants instance containing the grant that matched the requested S3 URI path.

      Parameters:
      matchedInstanceArn - The Amazon Resource Name (ARN) of the S3 Access Grants instance containing the grant that matched the requested S3 URI path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.