JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.connectparticipant.model

Class SendEventRequest

    • Constructor Detail

      • SendEventRequest

        public SendEventRequest()
    • Method Detail

      • setContentType

        public void setContentType(String contentType)

        The content type of the request. Supported types are:

        • application/vnd.amazonaws.connect.event.typing

        • application/vnd.amazonaws.connect.event.connection.acknowledged (will be deprecated on December 31, 2024)

        • application/vnd.amazonaws.connect.event.message.delivered

        • application/vnd.amazonaws.connect.event.message.read

        Parameters:
        contentType - The content type of the request. Supported types are:

        • application/vnd.amazonaws.connect.event.typing

        • application/vnd.amazonaws.connect.event.connection.acknowledged (will be deprecated on December 31, 2024)

        • application/vnd.amazonaws.connect.event.message.delivered

        • application/vnd.amazonaws.connect.event.message.read

      • getContentType

        public String getContentType()

        The content type of the request. Supported types are:

        • application/vnd.amazonaws.connect.event.typing

        • application/vnd.amazonaws.connect.event.connection.acknowledged (will be deprecated on December 31, 2024)

        • application/vnd.amazonaws.connect.event.message.delivered

        • application/vnd.amazonaws.connect.event.message.read

        Returns:
        The content type of the request. Supported types are:

        • application/vnd.amazonaws.connect.event.typing

        • application/vnd.amazonaws.connect.event.connection.acknowledged (will be deprecated on December 31, 2024)

        • application/vnd.amazonaws.connect.event.message.delivered

        • application/vnd.amazonaws.connect.event.message.read

      • withContentType

        public SendEventRequest withContentType(String contentType)

        The content type of the request. Supported types are:

        • application/vnd.amazonaws.connect.event.typing

        • application/vnd.amazonaws.connect.event.connection.acknowledged (will be deprecated on December 31, 2024)

        • application/vnd.amazonaws.connect.event.message.delivered

        • application/vnd.amazonaws.connect.event.message.read

        Parameters:
        contentType - The content type of the request. Supported types are:

        • application/vnd.amazonaws.connect.event.typing

        • application/vnd.amazonaws.connect.event.connection.acknowledged (will be deprecated on December 31, 2024)

        • application/vnd.amazonaws.connect.event.message.delivered

        • application/vnd.amazonaws.connect.event.message.read

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

        public void setContent(String content)

        The content of the event to be sent (for example, message text). For content related to message receipts, this is supported in the form of a JSON string.

        Sample Content: "{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"}"

        Parameters:
        content - The content of the event to be sent (for example, message text). For content related to message receipts, this is supported in the form of a JSON string.

        Sample Content: "{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"}"

      • getContent

        public String getContent()

        The content of the event to be sent (for example, message text). For content related to message receipts, this is supported in the form of a JSON string.

        Sample Content: "{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"}"

        Returns:
        The content of the event to be sent (for example, message text). For content related to message receipts, this is supported in the form of a JSON string.

        Sample Content: "{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"}"

      • withContent

        public SendEventRequest withContent(String content)

        The content of the event to be sent (for example, message text). For content related to message receipts, this is supported in the form of a JSON string.

        Sample Content: "{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"}"

        Parameters:
        content - The content of the event to be sent (for example, message text). For content related to message receipts, this is supported in the form of a JSON string.

        Sample Content: "{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"}"

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

        public void setClientToken(String clientToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

        Parameters:
        clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
      • getClientToken

        public String getClientToken()

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

        Returns:
        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
      • withClientToken

        public SendEventRequest withClientToken(String clientToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

        Parameters:
        clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConnectionToken

        public void setConnectionToken(String connectionToken)

        The authentication token associated with the participant's connection.

        Parameters:
        connectionToken - The authentication token associated with the participant's connection.
      • getConnectionToken

        public String getConnectionToken()

        The authentication token associated with the participant's connection.

        Returns:
        The authentication token associated with the participant's connection.
      • withConnectionToken

        public SendEventRequest withConnectionToken(String connectionToken)

        The authentication token associated with the participant's connection.

        Parameters:
        connectionToken - The authentication token associated with the participant's connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /