Interface UpdateCaseRequest.Builder

    • Method Detail

      • caseId

        UpdateCaseRequest.Builder caseId​(String caseId)

        A unique identifier of the case.

        Parameters:
        caseId - A unique identifier of the case.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainId

        UpdateCaseRequest.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

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

        An array of objects with fieldId (matching ListFields/DescribeField) and value union data, structured identical to CreateCase.

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

        UpdateCaseRequest.Builder fields​(FieldValue... fields)

        An array of objects with fieldId (matching ListFields/DescribeField) and value union data, structured identical to CreateCase.

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

        UpdateCaseRequest.Builder fields​(Consumer<FieldValue.Builder>... fields)

        An array of objects with fieldId (matching ListFields/DescribeField) and value union data, structured identical to CreateCase.

        This is a convenience method that creates an instance of the FieldValue.Builder avoiding the need to create one manually via FieldValue.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #fields(List).

        Parameters:
        fields - a consumer that will call methods on FieldValue.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #fields(java.util.Collection)