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 Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
CreateVariableRequest.Builder name(String 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
CreateVariableRequest.Builder dataType(String dataType)
The data type of the variable.
-
dataType
CreateVariableRequest.Builder dataType(DataType dataType)
The data type of the variable.
-
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,DataSource
-
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:
DataSource,DataSource
-
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
CreateVariableRequest.Builder tags(Collection<Tag> 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
CreateVariableRequest.Builder tags(Tag... 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
CreateVariableRequest.Builder tags(Consumer<Tag.Builder>... tags)
A collection of key and value pairs.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateVariableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateVariableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-