Class TemplateListResponse.Template.Builder
-
- All Implemented Interfaces:
public final class TemplateListResponse.Template.BuilderA builder for Template.
-
-
Method Summary
-
-
Method Detail
-
id
final TemplateListResponse.Template.Builder id(String id)
Unique template identifier
-
id
final TemplateListResponse.Template.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final TemplateListResponse.Template.Builder createdAt(OffsetDateTime createdAt)
Template creation timestamp
-
createdAt
final TemplateListResponse.Template.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final TemplateListResponse.Template.Builder description(String description)
Template description
-
description
final TemplateListResponse.Template.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final TemplateListResponse.Template.Builder name(String name)
Template name
-
name
final TemplateListResponse.Template.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tags
final TemplateListResponse.Template.Builder tags(List<JsonValue> tags)
Template tags for organization
-
tags
final TemplateListResponse.Template.Builder tags(JsonField<List<JsonValue>> tags)
Sets Builder.tags to an arbitrary JSON value.
You should usually call Builder.tags with a well-typed
List<JsonValue>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTag
final TemplateListResponse.Template.Builder addTag(JsonValue tag)
-
type
final TemplateListResponse.Template.Builder type(String type)
Template type/category
-
type
final TemplateListResponse.Template.Builder type(JsonField<String> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
usageCount
final TemplateListResponse.Template.Builder usageCount(Long usageCount)
Number of times template has been used
-
usageCount
final TemplateListResponse.Template.Builder usageCount(JsonField<Long> usageCount)
Sets Builder.usageCount to an arbitrary JSON value.
You should usually call Builder.usageCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
variables
final TemplateListResponse.Template.Builder variables(List<JsonValue> variables)
Template variables for customization
-
variables
final TemplateListResponse.Template.Builder variables(JsonField<List<JsonValue>> variables)
Sets Builder.variables to an arbitrary JSON value.
You should usually call Builder.variables with a well-typed
List<JsonValue>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addVariable
final TemplateListResponse.Template.Builder addVariable(JsonValue variable)
-
additionalProperties
final TemplateListResponse.Template.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TemplateListResponse.Template.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TemplateListResponse.Template.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TemplateListResponse.Template.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TemplateListResponse.Template.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TemplateListResponse.Template build()
Returns an immutable instance of Template.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-