Class AppContextRequest.Builder
- All Implemented Interfaces:
AppContextRequest._FinalStage,AppContextRequest.ContextIdStage,AppContextRequest.NameStage
- Enclosing class:
AppContextRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()companyName(String companyName) Optional display name for the organization deploying this app context — distinct fromname, which is the app's own identity.companyName(Optional<String> companyName) Optional display name for the organization deploying this app context — distinct fromname, which is the app's own identity.Your identifier for the app context.description(String description) Optional free-text description of what this app context is for.description(Optional<String> description) Optional free-text description of what this app context is for.from(AppContextRequest other) meteringAxis(String meteringAxis) Declares the per-principal metering axis for this app context — enables visibility into and (withprincipalUsageCap) enforcement of per-principal usage within this context.meteringAxis(Optional<String> meteringAxis) Declares the per-principal metering axis for this app context — enables visibility into and (withprincipalUsageCap) enforcement of per-principal usage within this context.Human-readable display name for this app context.principalBurstLimit(Integer principalBurstLimit) Per-principal, per-minute request cap, for the opt-in per-principal burst-protection feature.principalBurstLimit(Optional<Integer> principalBurstLimit) Per-principal, per-minute request cap, for the opt-in per-principal burst-protection feature.principalUsageCap(Integer principalUsageCap) Per-principal, per-billing-period operation cap, for the opt-in per-principal usage/quota feature.principalUsageCap(Optional<Integer> principalUsageCap) Per-principal, per-billing-period operation cap, for the opt-in per-principal usage/quota feature.
-
Method Details
-
from
- Specified by:
fromin interfaceAppContextRequest.ContextIdStage
-
contextId
Your identifier for the app context. Must be 3-31 characters, start with a lowercase letter, and contain only lowercase letters, digits, and hyphens (for example
myapp,taskflow, orengineering-team). Required when creating a context. Ignored when updating, since the URL path supplies the contextId on update.Your identifier for the app context. Must be 3-31 characters, start with a lowercase letter, and contain only lowercase letters, digits, and hyphens (for example
myapp,taskflow, orengineering-team). Required when creating a context. Ignored when updating, since the URL path supplies the contextId on update.- Specified by:
contextIdin interfaceAppContextRequest.ContextIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
Human-readable display name for this app context. Required.
Human-readable display name for this app context. Required.
- Specified by:
namein interfaceAppContextRequest.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
principalUsageCap
Per-principal, per-billing-period operation cap, for the opt-in per-principal usage/quota feature. Omit to track per-principal usage without enforcing a cap. Only takes effect for a partner with that feature enabled on their account.
- Specified by:
principalUsageCapin interfaceAppContextRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
principalUsageCap
Per-principal, per-billing-period operation cap, for the opt-in per-principal usage/quota feature. Omit to track per-principal usage without enforcing a cap. Only takes effect for a partner with that feature enabled on their account.
- Specified by:
principalUsageCapin interfaceAppContextRequest._FinalStage
-
principalBurstLimit
Per-principal, per-minute request cap, for the opt-in per-principal burst-protection feature. Only takes effect for a partner with that feature enabled on their account. Omit to leave unset.
- Specified by:
principalBurstLimitin interfaceAppContextRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
principalBurstLimit
Per-principal, per-minute request cap, for the opt-in per-principal burst-protection feature. Only takes effect for a partner with that feature enabled on their account. Omit to leave unset.
- Specified by:
principalBurstLimitin interfaceAppContextRequest._FinalStage
-
meteringAxis
Declares the per-principal metering axis for this app context — enables visibility into and (with
principalUsageCap) enforcement of per-principal usage within this context. Eitheruser(per end-user) orscope:<namespace>(per declared namespace, e.g.scope:org). Omit to leave context-only accounting unchanged (the default). Only takes effect for a partner with the corresponding account-level feature enabled.- Specified by:
meteringAxisin interfaceAppContextRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
meteringAxis
Declares the per-principal metering axis for this app context — enables visibility into and (with
principalUsageCap) enforcement of per-principal usage within this context. Eitheruser(per end-user) orscope:<namespace>(per declared namespace, e.g.scope:org). Omit to leave context-only accounting unchanged (the default). Only takes effect for a partner with the corresponding account-level feature enabled.- Specified by:
meteringAxisin interfaceAppContextRequest._FinalStage
-
companyName
Optional display name for the organization deploying this app context — distinct from
name, which is the app's own identity. Used to personalize platform-sent correspondence (e.g. sub-user invitation emails) with your own branding instead of a generic app name.- Specified by:
companyNamein interfaceAppContextRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
companyName
Optional display name for the organization deploying this app context — distinct from
name, which is the app's own identity. Used to personalize platform-sent correspondence (e.g. sub-user invitation emails) with your own branding instead of a generic app name.- Specified by:
companyNamein interfaceAppContextRequest._FinalStage
-
description
Optional free-text description of what this app context is for.
- Specified by:
descriptionin interfaceAppContextRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
Optional free-text description of what this app context is for.
- Specified by:
descriptionin interfaceAppContextRequest._FinalStage
-
build
- Specified by:
buildin interfaceAppContextRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceAppContextRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceAppContextRequest._FinalStage
-