Class Variable
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Variable.Builder,Variable>
The variable.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The ARN of the variable.static Variable.Builderbuilder()final StringThe time when the variable was created.final DataSourceThe data source of the variable.final StringThe data source of the variable.final DataTypedataType()The data type of the variable.final StringThe data type of the variable.final StringThe default value of the variable.final StringThe description of the variable.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe time when variable was last updated.final Stringname()The name of the variable.static Class<? extends Variable.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe variable type of the variable.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
dataType
The data type of the variable. For more information see Variable types.
If the service returns an enum value that is not available in the current SDK version,
dataTypewill returnDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataTypeAsString().- Returns:
- The data type of the variable. For more information see Variable types.
- See Also:
-
dataTypeAsString
The data type of the variable. For more information see Variable types.
If the service returns an enum value that is not available in the current SDK version,
dataTypewill returnDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataTypeAsString().- Returns:
- The data type of the variable. For more information see Variable types.
- See Also:
-
dataSource
The data source of the variable.
If the service returns an enum value that is not available in the current SDK version,
dataSourcewill returnDataSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataSourceAsString().- Returns:
- The data source of the variable.
- See Also:
-
dataSourceAsString
The data source of the variable.
If the service returns an enum value that is not available in the current SDK version,
dataSourcewill returnDataSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataSourceAsString().- Returns:
- The data source of the variable.
- See Also:
-
defaultValue
The default value of the variable.
- Returns:
- The default value of the variable.
-
description
The description of the variable.
- Returns:
- The description of the variable.
-
variableType
The variable type of the variable.
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:
- The variable type of the variable.
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
-
lastUpdatedTime
The time when variable was last updated.
- Returns:
- The time when variable was last updated.
-
createdTime
The time when the variable was created.
- Returns:
- The time when the variable was created.
-
arn
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Variable.Builder,Variable> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-