Class AutomationTemplate.Builder
-
- All Implemented Interfaces:
public final class AutomationTemplate.BuilderA builder for AutomationTemplate.
-
-
Method Summary
-
-
Method Detail
-
id
final AutomationTemplate.Builder id(String id)
The unique identifier of the automation template.
-
id
final AutomationTemplate.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.
-
name
final AutomationTemplate.Builder name(String name)
The name of the automation template.
-
name
final AutomationTemplate.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.
-
version
final AutomationTemplate.Builder version(AutomationTemplate.Version version)
The version of the template published or drafted.
-
version
final AutomationTemplate.Builder version(JsonField<AutomationTemplate.Version> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version with a well-typed Version value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final AutomationTemplate.Builder createdAt(OffsetDateTime createdAt)
ISO 8601 timestamp when the template was created.
-
createdAt
final AutomationTemplate.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.
-
updatedAt
final AutomationTemplate.Builder updatedAt(OffsetDateTime updatedAt)
ISO 8601 timestamp when the template was last updated.
-
updatedAt
final AutomationTemplate.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AutomationTemplate.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AutomationTemplate.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AutomationTemplate.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AutomationTemplate.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AutomationTemplate.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AutomationTemplate build()
Returns an immutable instance of AutomationTemplate.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .name() .version()
-
-
-
-