Package com.courier.models
Class AirshipProfile.Builder
-
- All Implemented Interfaces:
public final class AirshipProfile.BuilderA builder for AirshipProfile.
-
-
Method Summary
-
-
Method Detail
-
audience
final AirshipProfile.Builder audience(AirshipProfileAudience audience)
-
audience
final AirshipProfile.Builder audience(JsonField<AirshipProfileAudience> audience)
Sets Builder.audience to an arbitrary JSON value.
You should usually call Builder.audience with a well-typed AirshipProfileAudience value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deviceTypes
final AirshipProfile.Builder deviceTypes(List<String> deviceTypes)
-
deviceTypes
final AirshipProfile.Builder deviceTypes(JsonField<List<String>> deviceTypes)
Sets Builder.deviceTypes to an arbitrary JSON value.
You should usually call Builder.deviceTypes with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addDeviceType
final AirshipProfile.Builder addDeviceType(String deviceType)
Adds a single String to deviceTypes.
-
additionalProperties
final AirshipProfile.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AirshipProfile.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AirshipProfile.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AirshipProfile.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AirshipProfile.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AirshipProfile build()
Returns an immutable instance of AirshipProfile.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.audience() .deviceTypes()
-
-
-
-