Class NamedTransformation
-
- All Implemented Interfaces:
public final class NamedTransformationA named transformation is an alias for a transformation string, letting you apply and later update complex transformations without changing your image or video URLs. Learn more about named transformations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNamedTransformation.BuilderA builder for NamedTransformation.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for a named transformation. final OffsetDateTimecreatedAt()ISO 8601 timestamp of when the named transformation was created. final Booleanenabled()Whether the named transformation is currently enabled. final Stringname()Alias for the transformation string, used in URLs as tr:n-<name>.final Stringtransformation()The transformation string this named transformation refers to. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_transformation()Returns the raw JSON value of transformation. final Map<String, JsonValue>_additionalProperties()final NamedTransformation.BuildertoBuilder()final NamedTransformationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NamedTransformation.Builderbuilder()Returns a mutable builder for constructing an instance of NamedTransformation. -
-
Method Detail
-
createdAt
final OffsetDateTime createdAt()
ISO 8601 timestamp of when the named transformation was created.
-
enabled
final Boolean enabled()
Whether the named transformation is currently enabled. When set to
false, requests using this named transformation fail at delivery time.
-
name
final 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.
-
transformation
final String transformation()
The transformation string this named transformation refers to. Learn more about the transformation string syntax.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_enabled
final JsonField<Boolean> _enabled()
Returns the raw JSON value of enabled.
Unlike enabled, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_transformation
final JsonField<String> _transformation()
Returns the raw JSON value of transformation.
Unlike transformation, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NamedTransformation.Builder toBuilder()
-
validate
final NamedTransformation validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static NamedTransformation.Builder builder()
Returns a mutable builder for constructing an instance of NamedTransformation.
The following fields are required:
.id() .createdAt() .enabled() .name() .transformation()
-
-
-
-