-
- All Implemented Interfaces:
public class SpotXAdDescription.SpotXData.Builder
The builder for SpotXData.
-
-
Constructor Summary
Constructors Constructor Description SpotXAdDescription.SpotXData.Builder()
Creates a builder for SpotXData. SpotXAdDescription.SpotXData.Builder(SpotXAdDescription.SpotXData data)
Creates a builder for SpotXData configured with SpotXData.
-
Method Summary
Modifier and Type Method Description SpotXAdDescription.SpotXData.Builder
param(@NonNull() String key, @NonNull() String value)
Sets a String value for the specified key. SpotXAdDescription.SpotXData.Builder
param(@NonNull() String key, double value)
Sets a double value for the specified key. SpotXAdDescription.SpotXData.Builder
param(@NonNull() String key, @NonNull() List<String> value)
Sets a list of String values for the specified key. SpotXAdDescription.SpotXData.Builder
param(@NonNull() String key, @NonNull() SpotXAdDescription.Geo value)
Sets a geographic location for the specified key. SpotXAdDescription.SpotXData
build()
Builds the SpotXData. -
-
Constructor Detail
-
SpotXAdDescription.SpotXData.Builder
SpotXAdDescription.SpotXData.Builder()
Creates a builder for SpotXData.
-
SpotXAdDescription.SpotXData.Builder
SpotXAdDescription.SpotXData.Builder(SpotXAdDescription.SpotXData data)
Creates a builder for SpotXData configured with SpotXData.- Parameters:
data
- The SpotXData.
-
-
Method Detail
-
param
@NonNull() SpotXAdDescription.SpotXData.Builder param(@NonNull() String key, @NonNull() String value)
Sets a String value for the specified key.
- Parameters:
key
- The key for the String value.value
- The String value.
-
param
@NonNull() SpotXAdDescription.SpotXData.Builder param(@NonNull() String key, double value)
Sets a double value for the specified key.
- Parameters:
key
- The key for the String value.value
- The double value.
-
param
@NonNull() SpotXAdDescription.SpotXData.Builder param(@NonNull() String key, @NonNull() List<String> value)
Sets a list of String values for the specified key.
- Parameters:
key
- The key for the list of String values.value
- The list of String values.
-
param
@NonNull() SpotXAdDescription.SpotXData.Builder param(@NonNull() String key, @NonNull() SpotXAdDescription.Geo value)
Sets a geographic location for the specified key.
- Parameters:
key
- The key for the geographic location value.value
- The geographic location.
-
build
@NonNull() SpotXAdDescription.SpotXData build()
Builds the SpotXData.
-
-
-
-