Class PropertyGroupUpdate.Builder

    • Field Detail

      • templateId

        protected final java.lang.String templateId
      • addOrUpdateFields

        protected java.util.List<PropertyField> addOrUpdateFields
      • removeFields

        protected java.util.List<java.lang.String> removeFields
    • Constructor Detail

      • Builder

        protected Builder​(java.lang.String templateId)
    • Method Detail

      • withAddOrUpdateFields

        public PropertyGroupUpdate.Builder withAddOrUpdateFields​(java.util.List<PropertyField> addOrUpdateFields)
        Set value for optional field.
        Parameters:
        addOrUpdateFields - Property fields to update. If the property field already exists, it is updated. If the property field doesn't exist, the property group is added. Must not contain a null item.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withRemoveFields

        public PropertyGroupUpdate.Builder withRemoveFields​(java.util.List<java.lang.String> removeFields)
        Set value for optional field.
        Parameters:
        removeFields - Property fields to remove (by name), provided they exist. Must not contain a null item.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.