Class MeterUsageRetrieveParams.Meter.Builder
java.lang.Object
com.stripe.param.billing.analytics.MeterUsageRetrieveParams.Meter.Builder
- Enclosing class:
- MeterUsageRetrieveParams.Meter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllDimensionGroupByKey(List<String> elements) Add all elements to `dimensionGroupByKeys` list.addDimensionGroupByKey(String element) Add an element to `dimensionGroupByKeys` list.build()Finalize and obtain parameter instance from this builder.putAllDimensionFilter(Map<String, String> map) Add all map key/value pairs to `dimensionFilters` map.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllTenantFilter(Map<String, String> map) putDimensionFilter(String key, String value) Add a key/value pair to `dimensionFilters` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.putTenantFilter(String key, String value) Add a key/value pair to `tenantFilters` map.Required. Meter id to query usage for.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putDimensionFilter
Add a key/value pair to `dimensionFilters` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeMeterUsageRetrieveParams.Meter.dimensionFiltersfor the field documentation. -
putAllDimensionFilter
Add all map key/value pairs to `dimensionFilters` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeMeterUsageRetrieveParams.Meter.dimensionFiltersfor the field documentation. -
addDimensionGroupByKey
Add an element to `dimensionGroupByKeys` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeMeterUsageRetrieveParams.Meter.dimensionGroupByKeysfor the field documentation. -
addAllDimensionGroupByKey
Add all elements to `dimensionGroupByKeys` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeMeterUsageRetrieveParams.Meter.dimensionGroupByKeysfor the field documentation. -
putExtraParam
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. SeeMeterUsageRetrieveParams.Meter.extraParamsfor the field documentation. -
putAllExtraParam
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. SeeMeterUsageRetrieveParams.Meter.extraParamsfor the field documentation. -
setMeter
Required. Meter id to query usage for. -
putTenantFilter
Add a key/value pair to `tenantFilters` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeMeterUsageRetrieveParams.Meter.tenantFiltersfor the field documentation. -
putAllTenantFilter
-