Interface CreateListRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateListRequest.Builder,CreateListRequest>, FraudDetectorRequest.Builder, SdkBuilder<CreateListRequest.Builder,CreateListRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateListRequest

public static interface CreateListRequest.Builder extends FraudDetectorRequest.Builder, SdkPojo, CopyableBuilder<CreateListRequest.Builder,CreateListRequest>
  • Method Details

    • name

      The name of the list.

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

      The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.

      Parameters:
      elements - The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • elements

      CreateListRequest.Builder elements(String... elements)

      The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.

      Parameters:
      elements - The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • variableType

      CreateListRequest.Builder variableType(String variableType)

      The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.

      Parameters:
      variableType - The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateListRequest.Builder description(String description)

      The description of the list.

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

      A collection of the key and value pairs.

      Parameters:
      tags - A collection of the key and value pairs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A collection of the key and value pairs.

      Parameters:
      tags - A collection of the key and value pairs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A collection of the key and value pairs.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

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