Interface CreateCaseRequest.Builder

    • Method Detail

      • clientToken

        CreateCaseRequest.Builder clientToken​(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.
      • domainId

        CreateCaseRequest.Builder domainId​(String domainId)

        The unique identifier of the Cases domain.

        Parameters:
        domainId - The unique identifier of the Cases domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fields

        CreateCaseRequest.Builder fields​(Collection<FieldValue> fields)

        An array of objects with field ID (matching ListFields/DescribeField) and value union data.

        Parameters:
        fields - An array of objects with field ID (matching ListFields/DescribeField) and value union data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fields

        CreateCaseRequest.Builder fields​(FieldValue... fields)

        An array of objects with field ID (matching ListFields/DescribeField) and value union data.

        Parameters:
        fields - An array of objects with field ID (matching ListFields/DescribeField) and value union data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateId

        CreateCaseRequest.Builder templateId​(String templateId)

        A unique identifier of a template.

        Parameters:
        templateId - A unique identifier of a template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.