Class InvokeInvokeByTemplateParams.Body.Builder
-
- All Implemented Interfaces:
public final class InvokeInvokeByTemplateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
recipient
final InvokeInvokeByTemplateParams.Body.Builder recipient(String recipient)
-
recipient
final InvokeInvokeByTemplateParams.Body.Builder recipient(Optional<String> recipient)
Alias for calling Builder.recipient with
recipient.orElse(null).
-
recipient
final InvokeInvokeByTemplateParams.Body.Builder recipient(JsonField<String> recipient)
Sets Builder.recipient to an arbitrary JSON value.
You should usually call Builder.recipient with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
brand
final InvokeInvokeByTemplateParams.Body.Builder brand(String brand)
-
brand
final InvokeInvokeByTemplateParams.Body.Builder brand(Optional<String> brand)
Alias for calling Builder.brand with
brand.orElse(null).
-
brand
final InvokeInvokeByTemplateParams.Body.Builder brand(JsonField<String> brand)
Sets Builder.brand to an arbitrary JSON value.
You should usually call Builder.brand with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
data
final InvokeInvokeByTemplateParams.Body.Builder data(Optional<InvokeInvokeByTemplateParams.Data> data)
Alias for calling Builder.data with
data.orElse(null).
-
data
final InvokeInvokeByTemplateParams.Body.Builder data(JsonField<InvokeInvokeByTemplateParams.Data> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed Data value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
profile
final InvokeInvokeByTemplateParams.Body.Builder profile(InvokeInvokeByTemplateParams.Profile profile)
-
profile
final InvokeInvokeByTemplateParams.Body.Builder profile(Optional<InvokeInvokeByTemplateParams.Profile> profile)
Alias for calling Builder.profile with
profile.orElse(null).
-
profile
final InvokeInvokeByTemplateParams.Body.Builder profile(JsonField<InvokeInvokeByTemplateParams.Profile> profile)
Sets Builder.profile to an arbitrary JSON value.
You should usually call Builder.profile with a well-typed Profile value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
template
final InvokeInvokeByTemplateParams.Body.Builder template(String template)
-
template
final InvokeInvokeByTemplateParams.Body.Builder template(Optional<String> template)
Alias for calling Builder.template with
template.orElse(null).
-
template
final InvokeInvokeByTemplateParams.Body.Builder template(JsonField<String> template)
Sets Builder.template to an arbitrary JSON value.
You should usually call Builder.template with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InvokeInvokeByTemplateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InvokeInvokeByTemplateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InvokeInvokeByTemplateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InvokeInvokeByTemplateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InvokeInvokeByTemplateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InvokeInvokeByTemplateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.recipient()
-
-
-
-