Interface DescribeEngagementResponse.Builder

    • Method Detail

      • contactArn

        DescribeEngagementResponse.Builder contactArn​(String contactArn)

        The ARN of the escalation plan or contacts involved in the engagement.

        Parameters:
        contactArn - The ARN of the escalation plan or contacts involved in the engagement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • engagementArn

        DescribeEngagementResponse.Builder engagementArn​(String engagementArn)

        The ARN of the engagement.

        Parameters:
        engagementArn - The ARN of the engagement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sender

        DescribeEngagementResponse.Builder sender​(String sender)

        The user that started the engagement.

        Parameters:
        sender - The user that started the engagement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subject

        DescribeEngagementResponse.Builder subject​(String subject)

        The secure subject of the message that was sent to the contact. Use this field for engagements to VOICE and EMAIL.

        Parameters:
        subject - The secure subject of the message that was sent to the contact. Use this field for engagements to VOICE and EMAIL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • content

        DescribeEngagementResponse.Builder content​(String content)

        The secure content of the message that was sent to the contact. Use this field for engagements to VOICE and EMAIL.

        Parameters:
        content - The secure content of the message that was sent to the contact. Use this field for engagements to VOICE and EMAIL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicSubject

        DescribeEngagementResponse.Builder publicSubject​(String publicSubject)

        The insecure subject of the message that was sent to the contact. Use this field for engagements to SMS.

        Parameters:
        publicSubject - The insecure subject of the message that was sent to the contact. Use this field for engagements to SMS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicContent

        DescribeEngagementResponse.Builder publicContent​(String publicContent)

        The insecure content of the message that was sent to the contact. Use this field for engagements to SMS.

        Parameters:
        publicContent - The insecure content of the message that was sent to the contact. Use this field for engagements to SMS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • incidentId

        DescribeEngagementResponse.Builder incidentId​(String incidentId)

        The ARN of the incident in which the engagement occurred.

        Parameters:
        incidentId - The ARN of the incident in which the engagement occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        DescribeEngagementResponse.Builder startTime​(Instant startTime)

        The time that the engagement started.

        Parameters:
        startTime - The time that the engagement started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stopTime

        DescribeEngagementResponse.Builder stopTime​(Instant stopTime)

        The time that the engagement ended.

        Parameters:
        stopTime - The time that the engagement ended.
        Returns:
        Returns a reference to this object so that method calls can be chained together.