Interface UpdateListRequest.Builder

    • Method Detail

      • name

        UpdateListRequest.Builder name​(String name)

        The name of the list to update.

        Parameters:
        name - The name of the list to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • elements

        UpdateListRequest.Builder elements​(Collection<String> elements)

        One or more list elements to add or replace. If you are providing the elements, make sure to specify the updateMode to use.

        If you are deleting all elements from the list, use REPLACE for the updateMode and provide an empty list (0 elements).

        Parameters:
        elements - One or more list elements to add or replace. If you are providing the elements, make sure to specify the updateMode to use.

        If you are deleting all elements from the list, use REPLACE for the updateMode and provide an empty list (0 elements).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • elements

        UpdateListRequest.Builder elements​(String... elements)

        One or more list elements to add or replace. If you are providing the elements, make sure to specify the updateMode to use.

        If you are deleting all elements from the list, use REPLACE for the updateMode and provide an empty list (0 elements).

        Parameters:
        elements - One or more list elements to add or replace. If you are providing the elements, make sure to specify the updateMode to use.

        If you are deleting all elements from the list, use REPLACE for the updateMode and provide an empty list (0 elements).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateListRequest.Builder description​(String description)

        The new description.

        Parameters:
        description - The new description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updateMode

        UpdateListRequest.Builder updateMode​(String updateMode)

        The update mode (type).

        • Use APPEND if you are adding elements to the list.

        • Use REPLACE if you replacing existing elements in the list.

        • Use REMOVE if you are removing elements from the list.

        Parameters:
        updateMode - The update mode (type).

        • Use APPEND if you are adding elements to the list.

        • Use REPLACE if you replacing existing elements in the list.

        • Use REMOVE if you are removing elements from the list.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ListUpdateMode, ListUpdateMode
      • updateMode

        UpdateListRequest.Builder updateMode​(ListUpdateMode updateMode)

        The update mode (type).

        • Use APPEND if you are adding elements to the list.

        • Use REPLACE if you replacing existing elements in the list.

        • Use REMOVE if you are removing elements from the list.

        Parameters:
        updateMode - The update mode (type).

        • Use APPEND if you are adding elements to the list.

        • Use REPLACE if you replacing existing elements in the list.

        • Use REMOVE if you are removing elements from the list.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ListUpdateMode, ListUpdateMode
      • variableType

        UpdateListRequest.Builder variableType​(String variableType)

        The variable type you want to assign to the list.

        You cannot update a variable type of a list that already has a variable type assigned to it. You can assign a variable type to a list only if the list does not already have a variable type.

        Parameters:
        variableType - The variable type you want to assign to the list.

        You cannot update a variable type of a list that already has a variable type assigned to it. You can assign a variable type to a list only if the list does not already have a variable type.

        Returns:
        Returns a reference to this object so that method calls can be chained together.