Class AddCommunicationToCaseRequest

    • Constructor Detail

      • AddCommunicationToCaseRequest

        public AddCommunicationToCaseRequest()
    • Method Detail

      • setCaseId

        public void setCaseId​(String caseId)

        The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

        Parameters:
        caseId - The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
      • getCaseId

        public String getCaseId()

        The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

        Returns:
        The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
      • withCaseId

        public AddCommunicationToCaseRequest withCaseId​(String caseId)

        The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

        Parameters:
        caseId - The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCommunicationBody

        public void setCommunicationBody​(String communicationBody)

        The body of an email communication to add to the support case.

        Parameters:
        communicationBody - The body of an email communication to add to the support case.
      • getCommunicationBody

        public String getCommunicationBody()

        The body of an email communication to add to the support case.

        Returns:
        The body of an email communication to add to the support case.
      • withCommunicationBody

        public AddCommunicationToCaseRequest withCommunicationBody​(String communicationBody)

        The body of an email communication to add to the support case.

        Parameters:
        communicationBody - The body of an email communication to add to the support case.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getCcEmailAddresses

        public List<String> getCcEmailAddresses()

        The email addresses in the CC line of an email to be added to the support case.

        Returns:
        The email addresses in the CC line of an email to be added to the support case.
      • setCcEmailAddresses

        public void setCcEmailAddresses​(Collection<String> ccEmailAddresses)

        The email addresses in the CC line of an email to be added to the support case.

        Parameters:
        ccEmailAddresses - The email addresses in the CC line of an email to be added to the support case.
      • withCcEmailAddresses

        public AddCommunicationToCaseRequest withCcEmailAddresses​(String... ccEmailAddresses)

        The email addresses in the CC line of an email to be added to the support case.

        NOTE: This method appends the values to the existing list (if any). Use setCcEmailAddresses(java.util.Collection) or withCcEmailAddresses(java.util.Collection) if you want to override the existing values.

        Parameters:
        ccEmailAddresses - The email addresses in the CC line of an email to be added to the support case.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withCcEmailAddresses

        public AddCommunicationToCaseRequest withCcEmailAddresses​(Collection<String> ccEmailAddresses)

        The email addresses in the CC line of an email to be added to the support case.

        Parameters:
        ccEmailAddresses - The email addresses in the CC line of an email to be added to the support case.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAttachmentSetId

        public void setAttachmentSetId​(String attachmentSetId)

        The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet

        Parameters:
        attachmentSetId - The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
      • getAttachmentSetId

        public String getAttachmentSetId()

        The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet

        Returns:
        The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
      • withAttachmentSetId

        public AddCommunicationToCaseRequest withAttachmentSetId​(String attachmentSetId)

        The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet

        Parameters:
        attachmentSetId - The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
        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; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object