Class NamedTransformation.Builder
-
- All Implemented Interfaces:
public final class NamedTransformation.BuilderA builder for NamedTransformation.
-
-
Method Summary
-
-
Method Detail
-
id
final NamedTransformation.Builder id(String id)
Unique identifier for a named transformation.
-
id
final NamedTransformation.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 NamedTransformation.Builder createdAt(OffsetDateTime createdAt)
ISO 8601 timestamp of when the named transformation was created.
-
createdAt
final NamedTransformation.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.
-
enabled
final NamedTransformation.Builder enabled(Boolean enabled)
Whether the named transformation is currently enabled. When set to
false, requests using this named transformation fail at delivery time.
-
enabled
final NamedTransformation.Builder enabled(JsonField<Boolean> enabled)
Sets Builder.enabled to an arbitrary JSON value.
You should usually call Builder.enabled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final NamedTransformation.Builder name(String name)
Alias for the transformation string, used in URLs as
tr:n-<name>. This is case-sensitive, contains only alphanumeric characters or_(underscore), and is unique across all named transformations for your account.
-
name
final NamedTransformation.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.
-
transformation
final NamedTransformation.Builder transformation(String transformation)
The transformation string this named transformation refers to. Learn more about the transformation string syntax.
-
transformation
final NamedTransformation.Builder transformation(JsonField<String> transformation)
Sets Builder.transformation to an arbitrary JSON value.
You should usually call Builder.transformation 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 NamedTransformation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NamedTransformation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NamedTransformation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NamedTransformation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NamedTransformation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NamedTransformation build()
Returns an immutable instance of NamedTransformation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .enabled() .name() .transformation()
-
-
-
-