@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVariableRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateVariableRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVariableRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDataSource()
The source of the data.
|
String |
getDataType()
The data type of the variable.
|
String |
getDefaultValue()
The default value for the variable when no value is received.
|
String |
getDescription()
The description.
|
String |
getName()
The name of the variable.
|
List<Tag> |
getTags()
A collection of key and value pairs.
|
String |
getVariableType()
The variable type.
|
int |
hashCode() |
void |
setDataSource(String dataSource)
The source of the data.
|
void |
setDataType(String dataType)
The data type of the variable.
|
void |
setDefaultValue(String defaultValue)
The default value for the variable when no value is received.
|
void |
setDescription(String description)
The description.
|
void |
setName(String name)
The name of the variable.
|
void |
setTags(Collection<Tag> tags)
A collection of key and value pairs.
|
void |
setVariableType(String variableType)
The variable type.
|
String |
toString()
Returns a string representation of this object.
|
CreateVariableRequest |
withDataSource(DataSource dataSource)
The source of the data.
|
CreateVariableRequest |
withDataSource(String dataSource)
The source of the data.
|
CreateVariableRequest |
withDataType(DataType dataType)
The data type of the variable.
|
CreateVariableRequest |
withDataType(String dataType)
The data type of the variable.
|
CreateVariableRequest |
withDefaultValue(String defaultValue)
The default value for the variable when no value is received.
|
CreateVariableRequest |
withDescription(String description)
The description.
|
CreateVariableRequest |
withName(String name)
The name of the variable.
|
CreateVariableRequest |
withTags(Collection<Tag> tags)
A collection of key and value pairs.
|
CreateVariableRequest |
withTags(Tag... tags)
A collection of key and value pairs.
|
CreateVariableRequest |
withVariableType(String variableType)
The variable type.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the variable.
name
- The name of the variable.public String getName()
The name of the variable.
public CreateVariableRequest withName(String name)
The name of the variable.
name
- The name of the variable.public void setDataType(String dataType)
The data type of the variable.
dataType
- The data type of the variable.DataType
public String getDataType()
The data type of the variable.
DataType
public CreateVariableRequest withDataType(String dataType)
The data type of the variable.
dataType
- The data type of the variable.DataType
public CreateVariableRequest withDataType(DataType dataType)
The data type of the variable.
dataType
- The data type of the variable.DataType
public void setDataSource(String dataSource)
The source of the data.
dataSource
- The source of the data.DataSource
public String getDataSource()
The source of the data.
DataSource
public CreateVariableRequest withDataSource(String dataSource)
The source of the data.
dataSource
- The source of the data.DataSource
public CreateVariableRequest withDataSource(DataSource dataSource)
The source of the data.
dataSource
- The source of the data.DataSource
public void setDefaultValue(String defaultValue)
The default value for the variable when no value is received.
defaultValue
- The default value for the variable when no value is received.public String getDefaultValue()
The default value for the variable when no value is received.
public CreateVariableRequest withDefaultValue(String defaultValue)
The default value for the variable when no value is received.
defaultValue
- The default value for the variable when no value is received.public void setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public CreateVariableRequest withDescription(String description)
The description.
description
- The description.public void setVariableType(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
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
public String getVariableType()
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
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
public CreateVariableRequest withVariableType(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
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
public List<Tag> getTags()
A collection of key and value pairs.
public void setTags(Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.public CreateVariableRequest withTags(Tag... tags)
A collection of key and value pairs.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A collection of key and value pairs.public CreateVariableRequest withTags(Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.public String toString()
toString
in class Object
Object.toString()
public CreateVariableRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()