Interface ResponseCard.Builder

    • Method Detail

      • version

        ResponseCard.Builder version​(String version)

        The version of the response card format.

        Parameters:
        version - The version of the response card format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentType

        ResponseCard.Builder contentType​(String contentType)

        The content type of the response.

        Parameters:
        contentType - The content type of the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContentType, ContentType
      • contentType

        ResponseCard.Builder contentType​(ContentType contentType)

        The content type of the response.

        Parameters:
        contentType - The content type of the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContentType, ContentType
      • genericAttachments

        ResponseCard.Builder genericAttachments​(Collection<GenericAttachment> genericAttachments)

        An array of attachment objects representing options.

        Parameters:
        genericAttachments - An array of attachment objects representing options.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • genericAttachments

        ResponseCard.Builder genericAttachments​(GenericAttachment... genericAttachments)

        An array of attachment objects representing options.

        Parameters:
        genericAttachments - An array of attachment objects representing options.
        Returns:
        Returns a reference to this object so that method calls can be chained together.