Class CacheControlEphemeral
-
- All Implemented Interfaces:
public final class CacheControlEphemeral
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCacheControlEphemeral.BuilderA builder for CacheControlEphemeral.
public final classCacheControlEphemeral.TtlThe time-to-live for the cache control breakpoint.
This may be one the following values:
5m: 5 minutes1h: 1 hour
Defaults to
5m.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("ephemeral")final Optional<CacheControlEphemeral.Ttl>ttl()The time-to-live for the cache control breakpoint. final JsonField<CacheControlEphemeral.Ttl>_ttl()Returns the raw JSON value of ttl. final Map<String, JsonValue>_additionalProperties()final CacheControlEphemeral.BuildertoBuilder()final CacheControlEphemeralvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CacheControlEphemeral.Builderbuilder()Returns a mutable builder for constructing an instance of CacheControlEphemeral. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("ephemeral")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
ttl
final Optional<CacheControlEphemeral.Ttl> ttl()
The time-to-live for the cache control breakpoint.
This may be one the following values:
5m: 5 minutes1h: 1 hour
Defaults to
5m.
-
_ttl
final JsonField<CacheControlEphemeral.Ttl> _ttl()
Returns the raw JSON value of ttl.
Unlike ttl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CacheControlEphemeral.Builder toBuilder()
-
validate
final CacheControlEphemeral 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 CacheControlEphemeral.Builder builder()
Returns a mutable builder for constructing an instance of CacheControlEphemeral.
-
-
-
-