Class OriginResponse.S3Compatible.Builder
-
- All Implemented Interfaces:
public final class OriginResponse.S3Compatible.BuilderA builder for S3Compatible.
-
-
Method Summary
-
-
Method Detail
-
id
final OriginResponse.S3Compatible.Builder id(String id)
Unique identifier for the origin. This is generated by ImageKit when you create a new origin.
-
id
final OriginResponse.S3Compatible.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.
-
bucket
final OriginResponse.S3Compatible.Builder bucket(String bucket)
S3 bucket name.
-
bucket
final OriginResponse.S3Compatible.Builder bucket(JsonField<String> bucket)
Sets Builder.bucket to an arbitrary JSON value.
You should usually call Builder.bucket with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
endpoint
final OriginResponse.S3Compatible.Builder endpoint(String endpoint)
Custom S3-compatible endpoint.
-
endpoint
final OriginResponse.S3Compatible.Builder endpoint(JsonField<String> endpoint)
Sets Builder.endpoint to an arbitrary JSON value.
You should usually call Builder.endpoint with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
includeCanonicalHeader
final OriginResponse.S3Compatible.Builder includeCanonicalHeader(Boolean includeCanonicalHeader)
Whether to send a Canonical header.
-
includeCanonicalHeader
final OriginResponse.S3Compatible.Builder includeCanonicalHeader(JsonField<Boolean> includeCanonicalHeader)
Sets Builder.includeCanonicalHeader to an arbitrary JSON value.
You should usually call Builder.includeCanonicalHeader 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 OriginResponse.S3Compatible.Builder name(String name)
Display name of the origin.
-
name
final OriginResponse.S3Compatible.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.
-
prefix
final OriginResponse.S3Compatible.Builder prefix(String prefix)
Path prefix inside the bucket.
-
prefix
final OriginResponse.S3Compatible.Builder prefix(JsonField<String> prefix)
Sets Builder.prefix to an arbitrary JSON value.
You should usually call Builder.prefix with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
s3ForcePathStyle
final OriginResponse.S3Compatible.Builder s3ForcePathStyle(Boolean s3ForcePathStyle)
Use path-style S3 URLs?
-
s3ForcePathStyle
final OriginResponse.S3Compatible.Builder s3ForcePathStyle(JsonField<Boolean> s3ForcePathStyle)
Sets Builder.s3ForcePathStyle to an arbitrary JSON value.
You should usually call Builder.s3ForcePathStyle with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final OriginResponse.S3Compatible.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("S3_COMPATIBLE")This method is primarily for setting the field to an undocumented or not yet supported value.
-
baseUrlForCanonicalHeader
final OriginResponse.S3Compatible.Builder baseUrlForCanonicalHeader(String baseUrlForCanonicalHeader)
URL used in the Canonical header (if enabled).
-
baseUrlForCanonicalHeader
final OriginResponse.S3Compatible.Builder baseUrlForCanonicalHeader(JsonField<String> baseUrlForCanonicalHeader)
Sets Builder.baseUrlForCanonicalHeader to an arbitrary JSON value.
You should usually call Builder.baseUrlForCanonicalHeader 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 OriginResponse.S3Compatible.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final OriginResponse.S3Compatible.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final OriginResponse.S3Compatible.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final OriginResponse.S3Compatible.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final OriginResponse.S3Compatible.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final OriginResponse.S3Compatible build()
Returns an immutable instance of S3Compatible.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .bucket() .endpoint() .includeCanonicalHeader() .name() .prefix() .s3ForcePathStyle()
-
-
-
-