Class OriginResponse.CloudinaryBackup
-
- All Implemented Interfaces:
public final class OriginResponse.CloudinaryBackup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOriginResponse.CloudinaryBackup.BuilderA builder for CloudinaryBackup.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the origin. final Stringbucket()S3 bucket name. final BooleanincludeCanonicalHeader()Whether to send a Canonical header. final Stringname()Display name of the origin. final Stringprefix()Path prefix inside the bucket. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("CLOUDINARY_BACKUP")final Optional<String>baseUrlForCanonicalHeader()URL used in the Canonical header (if enabled). final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_bucket()Returns the raw JSON value of bucket. final JsonField<Boolean>_includeCanonicalHeader()Returns the raw JSON value of includeCanonicalHeader. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_prefix()Returns the raw JSON value of prefix. final JsonField<String>_baseUrlForCanonicalHeader()Returns the raw JSON value of baseUrlForCanonicalHeader. final Map<String, JsonValue>_additionalProperties()final OriginResponse.CloudinaryBackup.BuildertoBuilder()final OriginResponse.CloudinaryBackupvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OriginResponse.CloudinaryBackup.Builderbuilder()Returns a mutable builder for constructing an instance of CloudinaryBackup. -
-
Method Detail
-
id
final String id()
Unique identifier for the origin. This is generated by ImageKit when you create a new origin.
-
includeCanonicalHeader
final Boolean includeCanonicalHeader()
Whether to send a Canonical header.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("CLOUDINARY_BACKUP")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
baseUrlForCanonicalHeader
final Optional<String> baseUrlForCanonicalHeader()
URL used in the Canonical header (if enabled).
-
_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.
-
_bucket
final JsonField<String> _bucket()
Returns the raw JSON value of bucket.
Unlike bucket, this method doesn't throw if the JSON field has an unexpected type.
-
_includeCanonicalHeader
final JsonField<Boolean> _includeCanonicalHeader()
Returns the raw JSON value of includeCanonicalHeader.
Unlike includeCanonicalHeader, 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.
-
_prefix
final JsonField<String> _prefix()
Returns the raw JSON value of prefix.
Unlike prefix, this method doesn't throw if the JSON field has an unexpected type.
-
_baseUrlForCanonicalHeader
final JsonField<String> _baseUrlForCanonicalHeader()
Returns the raw JSON value of baseUrlForCanonicalHeader.
Unlike baseUrlForCanonicalHeader, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OriginResponse.CloudinaryBackup.Builder toBuilder()
-
validate
final OriginResponse.CloudinaryBackup validate()
-
builder
final static OriginResponse.CloudinaryBackup.Builder builder()
Returns a mutable builder for constructing an instance of CloudinaryBackup.
The following fields are required:
.id() .bucket() .includeCanonicalHeader() .name() .prefix()
-
-
-
-