Class BatchCreateParams.OutputExpiresAfter.Builder
-
- All Implemented Interfaces:
public final class BatchCreateParams.OutputExpiresAfter.Builder
A builder for OutputExpiresAfter.
-
-
Method Summary
-
-
Method Detail
-
anchor
final BatchCreateParams.OutputExpiresAfter.Builder anchor(JsonValue anchor)
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("created_at")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
seconds
final BatchCreateParams.OutputExpiresAfter.Builder seconds(Long seconds)
The number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days).
-
seconds
final BatchCreateParams.OutputExpiresAfter.Builder seconds(JsonField<Long> seconds)
Sets Builder.seconds to an arbitrary JSON value.
You should usually call Builder.seconds with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BatchCreateParams.OutputExpiresAfter.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BatchCreateParams.OutputExpiresAfter.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BatchCreateParams.OutputExpiresAfter.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BatchCreateParams.OutputExpiresAfter.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BatchCreateParams.OutputExpiresAfter.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BatchCreateParams.OutputExpiresAfter build()
Returns an immutable instance of OutputExpiresAfter.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.seconds()
-
-
-
-