Interface CustomUpdateContent.Builder

  • Method Details

    • fields

      List of updated field values for the Custom related item. All existing and new fields, and their associated values should be included. Fields not included as part of this request will be removed.

      Parameters:
      fields - List of updated field values for the Custom related item. All existing and new fields, and their associated values should be included. Fields not included as part of this request will be removed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fields

      List of updated field values for the Custom related item. All existing and new fields, and their associated values should be included. Fields not included as part of this request will be removed.

      Parameters:
      fields - List of updated field values for the Custom related item. All existing and new fields, and their associated values should be included. Fields not included as part of this request will be removed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fields

      List of updated field values for the Custom related item. All existing and new fields, and their associated values should be included. Fields not included as part of this request will be removed.

      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<FieldValue>).

      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: