Class WorkspaceUpdateParams.Body

    • Constructor Detail

    • Method Detail

      • externalKeyId

         final Optional<String> externalKeyId()

        ID of the customer-managed encryption key (CMEK) configuration to use for this Workspace. Setting this field requires CMEK to be enabled for your organization. When set, data stored for this Workspace is encrypted with the referenced key. Create key configurations with the External Keys API. On Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your organization's own key must be a single-Region key in the same Region as the Workspace. If that key is outside the Workspace's AWS account, it can be attached only by updating an active Workspace. On that platform the key is validated against this Workspace when it is attached, so a key-policy problem is reported as an error on this request. This field is write-once: once a key is attached to a Workspace it cannot be detached or replaced. To rotate key material, rotate the underlying key on your cloud KMS; the external_key_id stays the same.

      • userProfileId

         final Optional<String> userProfileId()

        ID of a user profile to attach to the Workspace. Every inference request through the Workspace must then name this user profile; the API rejects a request that names none or a different one. Once set, it can't be replaced or removed (sending the same ID again changes nothing); only deleting the user profile clears it. It can't be set on a Workspace whose External Key isn't bound to this user profile. The default Workspace can't have a user profile.

      • _displayColor

         final JsonField<String> _displayColor()

        Returns the raw JSON value of displayColor.

        Unlike displayColor, this method doesn't throw if the JSON field has an unexpected type.

      • _externalKeyId

         final JsonField<String> _externalKeyId()

        Returns the raw JSON value of externalKeyId.

        Unlike externalKeyId, this method doesn't throw if the JSON field has an unexpected type.

      • _name

         final JsonField<String> _name()

        Returns the raw JSON value of name.

        Unlike name, this method doesn't throw if the JSON field has an unexpected type.

      • _userProfileId

         final JsonField<String> _userProfileId()

        Returns the raw JSON value of userProfileId.

        Unlike userProfileId, this method doesn't throw if the JSON field has an unexpected type.

      • validate

         final WorkspaceUpdateParams.Body 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.