Class ClientRequest.Builder
- All Implemented Interfaces:
ClientRequest._FinalStage,ClientRequest.ExternalIdStage
- Enclosing class:
ClientRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()externalId(@NotNull String externalId) Your own unique identifier for this client.from(ClientRequest other) Display name for this client.Display name for this client.The organization this client belongs to.The organization this client belongs to.Free-form key-value attributes to store with this client — handy for keeping extra data from your system without defining a schema.Free-form key-value attributes to store with this client — handy for keeping extra data from your system without defining a schema.Optional ID of a schema (created viaPOST /v1/schemas) that validates this client's payload and drives its lookup indexing.Optional ID of a schema (created viaPOST /v1/schemas) that validates this client's payload and drives its lookup indexing.status(ClientRequestStatus status) Lifecycle status of the client.status(Optional<ClientRequestStatus> status) Lifecycle status of the client.
-
Method Details
-
from
- Specified by:
fromin interfaceClientRequest.ExternalIdStage
-
externalId
Your own unique identifier for this client. Used for idempotent create: if a client with this
externalIdalready exists, it is returned instead of creating a duplicate.Your own unique identifier for this client. Used for idempotent create: if a client with this
externalIdalready exists, it is returned instead of creating a duplicate.- Specified by:
externalIdin interfaceClientRequest.ExternalIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
schemaId
Optional ID of a schema (created via
POST /v1/schemas) that validates this client's payload and drives its lookup indexing. When set, the schema must belong to your account, the payload is validated against the schema's fields on save, and the schema's declared lookup fields become queryable viaGET /v1/clients?type=...&field=...&value=.... When omitted, the payload is free-form and no lookup rows are written. On update, omit this field to leave it unchanged; once set, it cannot be cleared.- Specified by:
schemaIdin interfaceClientRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
schemaId
Optional ID of a schema (created via
POST /v1/schemas) that validates this client's payload and drives its lookup indexing. When set, the schema must belong to your account, the payload is validated against the schema's fields on save, and the schema's declared lookup fields become queryable viaGET /v1/clients?type=...&field=...&value=.... When omitted, the payload is free-form and no lookup rows are written. On update, omit this field to leave it unchanged; once set, it cannot be cleared.- Specified by:
schemaIdin interfaceClientRequest._FinalStage
-
payload
Free-form key-value attributes to store with this client — handy for keeping extra data from your system without defining a schema. On update, the supplied object replaces the stored payload in full (it is not key-merged); omit it to leave the payload unchanged.
- Specified by:
payloadin interfaceClientRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
payload
Free-form key-value attributes to store with this client — handy for keeping extra data from your system without defining a schema. On update, the supplied object replaces the stored payload in full (it is not key-merged); omit it to leave the payload unchanged.
- Specified by:
payloadin interfaceClientRequest._FinalStage
-
orgId
The organization this client belongs to. Must be the Vectros-assigned UUID of an org created via
POST /v1/orgs; useGET /v1/orgs?externalId=to resolve your own identifier to this UUID.- Specified by:
orgIdin interfaceClientRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
orgId
The organization this client belongs to. Must be the Vectros-assigned UUID of an org created via
POST /v1/orgs; useGET /v1/orgs?externalId=to resolve your own identifier to this UUID.- Specified by:
orgIdin interfaceClientRequest._FinalStage
-
status
Lifecycle status of the client.
ACTIVEclients can be used normally;SUSPENDEDclients are retained but blocked from new operations. Defaults toACTIVE.- Specified by:
statusin interfaceClientRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
status
Lifecycle status of the client.
ACTIVEclients can be used normally;SUSPENDEDclients are retained but blocked from new operations. Defaults toACTIVE.- Specified by:
statusin interfaceClientRequest._FinalStage
-
name
Display name for this client.
- Specified by:
namein interfaceClientRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
Display name for this client.
- Specified by:
namein interfaceClientRequest._FinalStage
-
build
- Specified by:
buildin interfaceClientRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceClientRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceClientRequest._FinalStage
-