Interface UpdateListRequest.Builder

  • Method Details

    • 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

      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:
    • 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:
    • 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.
    • overrideConfiguration

      UpdateListRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.