Package dev.cachly.api.model
Class Instance
java.lang.Object
dev.cachly.api.model.Instance
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-04-17T00:43:25.074268745Z[Etc/UTC]",
comments="Generator version: 7.5.0")
public class Instance
extends Object
Instance
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumCache engine backing this instancestatic enumGets or Sets statusstatic enumGets or Sets tier -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclusterMode(Boolean clusterMode) createdAt(OffsetDateTime createdAt) customDomain(String customDomain) customDomainVerified(Boolean customDomainVerified) encryptionAtRest(Boolean encryptionAtRest) engine(Instance.EngineEnum engine) booleanReturn true if this Instance object is equal to o.Whether the customer has set a BYOK (Bring Your Own Key) encryption keyWhether the instance runs in Valkey Cluster mode (automatic sharding)Get createdAtCustomer's custom CNAME (e.g.Whether the custom domain's DNS TXT record has been verifiedGet encryptionAtRestCache engine backing this instancegetHost()Get hostgetId()Get idGet memoryMbgetName()Get namegetPort()Get portGet regionGet statusgetTier()Get tierGet updatedAtUsed for CACHLY_VECTOR_URL – authenticate semantic cache API callsHTTPS endpoint receiving real-time cache events (hits, near-misses, threshold changes)inthashCode()voidsetByoKeySet(Boolean byoKeySet) voidsetClusterMode(Boolean clusterMode) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCustomDomain(String customDomain) voidsetCustomDomainVerified(Boolean customDomainVerified) voidsetEncryptionAtRest(Boolean encryptionAtRest) voidsetEngine(Instance.EngineEnum engine) voidvoidvoidsetMemoryMb(Integer memoryMb) voidvoidvoidvoidsetStatus(Instance.StatusEnum status) voidsetTier(Instance.TierEnum tier) voidsetUpdatedAt(OffsetDateTime updatedAt) voidsetVectorToken(UUID vectorToken) voidsetWebhookUrl(URI webhookUrl) status(Instance.StatusEnum status) tier(Instance.TierEnum tier) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.updatedAt(OffsetDateTime updatedAt) vectorToken(UUID vectorToken) webhookUrl(URI webhookUrl)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TIER
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_REGION
- See Also:
-
JSON_PROPERTY_ENGINE
- See Also:
-
JSON_PROPERTY_CLUSTER_MODE
- See Also:
-
JSON_PROPERTY_HOST
- See Also:
-
JSON_PROPERTY_PORT
- See Also:
-
JSON_PROPERTY_MEMORY_MB
- See Also:
-
JSON_PROPERTY_ENCRYPTION_AT_REST
- See Also:
-
JSON_PROPERTY_BYO_KEY_SET
- See Also:
-
JSON_PROPERTY_CUSTOM_DOMAIN
- See Also:
-
JSON_PROPERTY_CUSTOM_DOMAIN_VERIFIED
- See Also:
-
JSON_PROPERTY_VECTOR_TOKEN
- See Also:
-
JSON_PROPERTY_WEBHOOK_URL
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
-
Constructor Details
-
Instance
public Instance()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
tier
-
getTier
Get tier- Returns:
- tier
-
setTier
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
region
-
getRegion
Get region- Returns:
- region
-
setRegion
-
engine
-
getEngine
Cache engine backing this instance- Returns:
- engine
-
setEngine
-
clusterMode
-
getClusterMode
Whether the instance runs in Valkey Cluster mode (automatic sharding)- Returns:
- clusterMode
-
setClusterMode
-
host
-
getHost
Get host- Returns:
- host
-
setHost
-
port
-
getPort
Get port- Returns:
- port
-
setPort
-
memoryMb
-
getMemoryMb
Get memoryMb- Returns:
- memoryMb
-
setMemoryMb
-
encryptionAtRest
-
getEncryptionAtRest
Get encryptionAtRest- Returns:
- encryptionAtRest
-
setEncryptionAtRest
-
byoKeySet
-
getByoKeySet
Whether the customer has set a BYOK (Bring Your Own Key) encryption key- Returns:
- byoKeySet
-
setByoKeySet
-
customDomain
-
getCustomDomain
Customer's custom CNAME (e.g. cache.example.com)- Returns:
- customDomain
-
setCustomDomain
-
customDomainVerified
-
getCustomDomainVerified
Whether the custom domain's DNS TXT record has been verified- Returns:
- customDomainVerified
-
setCustomDomainVerified
-
vectorToken
-
getVectorToken
Used for CACHLY_VECTOR_URL – authenticate semantic cache API calls- Returns:
- vectorToken
-
setVectorToken
-
webhookUrl
-
getWebhookUrl
HTTPS endpoint receiving real-time cache events (hits, near-misses, threshold changes)- Returns:
- webhookUrl
-
setWebhookUrl
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
-
equals
Return true if this Instance object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-