Interface CreateVariableRequest.Builder

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

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

    • name

      The name of the variable.

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

      The data type of the variable.

      Parameters:
      dataType - The data type of the variable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataType

      The data type of the variable.

      Parameters:
      dataType - The data type of the variable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataSource

      CreateVariableRequest.Builder dataSource(String dataSource)

      The source of the data.

      Parameters:
      dataSource - The source of the data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataSource

      CreateVariableRequest.Builder dataSource(DataSource dataSource)

      The source of the data.

      Parameters:
      dataSource - The source of the data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultValue

      CreateVariableRequest.Builder defaultValue(String defaultValue)

      The default value for the variable when no value is received.

      Parameters:
      defaultValue - The default value for the variable when no value is received.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateVariableRequest.Builder description(String description)

      The description.

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

      CreateVariableRequest.Builder variableType(String variableType)

      The variable type. For more information see Variable types.

      Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT

      Parameters:
      variableType - The variable type. For more information see Variable types.

      Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT

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

      A collection of key and value pairs.

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

      A collection of key and value pairs.

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

      A collection of 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

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