Package com.stripe.param.radar
Class ValueListCreateParams.Builder
- java.lang.Object
-
- com.stripe.param.radar.ValueListCreateParams.Builder
-
- Enclosing class:
- ValueListCreateParams
public static class ValueListCreateParams.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueListCreateParams.BuilderaddAllExpand(java.util.List<java.lang.String> elements)Add all elements to `expand` list.ValueListCreateParams.BuilderaddExpand(java.lang.String element)Add an element to `expand` list.ValueListCreateParamsbuild()Finalize and obtain parameter instance from this builder.ValueListCreateParams.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.ValueListCreateParams.BuilderputAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)Add all map key/value pairs to `metadata` map.ValueListCreateParams.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.ValueListCreateParams.BuilderputMetadata(java.lang.String key, java.lang.String value)Add a key/value pair to `metadata` map.ValueListCreateParams.BuildersetAlias(java.lang.String alias)The name of the value list for use in rules.ValueListCreateParams.BuildersetItemType(ValueListCreateParams.ItemType itemType)Type of the items in the value list.ValueListCreateParams.BuildersetName(java.lang.String name)The human-readable name of the value list.
-
-
-
Method Detail
-
build
public ValueListCreateParams build()
Finalize and obtain parameter instance from this builder.
-
setAlias
public ValueListCreateParams.Builder setAlias(java.lang.String alias)
The name of the value list for use in rules.
-
addExpand
public ValueListCreateParams.Builder addExpand(java.lang.String element)
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeValueListCreateParams.expandfor the field documentation.
-
addAllExpand
public ValueListCreateParams.Builder addAllExpand(java.util.List<java.lang.String> elements)
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeValueListCreateParams.expandfor the field documentation.
-
putExtraParam
public ValueListCreateParams.Builder putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeValueListCreateParams.extraParamsfor the field documentation.
-
putAllExtraParam
public ValueListCreateParams.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeValueListCreateParams.extraParamsfor the field documentation.
-
setItemType
public ValueListCreateParams.Builder setItemType(ValueListCreateParams.ItemType itemType)
Type of the items in the value list. One ofcard_fingerprint,card_bin,email,ip_address,country,string, orcase_sensitive_string. Usestringif the item type is unknown or mixed.
-
putMetadata
public ValueListCreateParams.Builder putMetadata(java.lang.String key, java.lang.String value)
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeValueListCreateParams.metadatafor the field documentation.
-
putAllMetadata
public ValueListCreateParams.Builder putAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeValueListCreateParams.metadatafor the field documentation.
-
setName
public ValueListCreateParams.Builder setName(java.lang.String name)
The human-readable name of the value list.
-
-