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