Interface GetAttachedFileRequest.Builder

    • Method Detail

      • instanceId

        GetAttachedFileRequest.Builder instanceId​(String instanceId)

        The unique identifier of the Connect instance.

        Parameters:
        instanceId - The unique identifier of the Connect instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fileId

        GetAttachedFileRequest.Builder fileId​(String fileId)

        The unique identifier of the attached file resource.

        Parameters:
        fileId - The unique identifier of the attached file resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • urlExpiryInSeconds

        GetAttachedFileRequest.Builder urlExpiryInSeconds​(Integer urlExpiryInSeconds)

        Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.

        Parameters:
        urlExpiryInSeconds - Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associatedResourceArn

        GetAttachedFileRequest.Builder associatedResourceArn​(String associatedResourceArn)

        The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

        This value must be a valid ARN.

        Parameters:
        associatedResourceArn - The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

        This value must be a valid ARN.

        Returns:
        Returns a reference to this object so that method calls can be chained together.