Class UserProfileEfsProgram.Builder
-
- All Implemented Interfaces:
public final class UserProfileEfsProgram.BuilderA builder for UserProfileEfsProgram.
-
-
Method Summary
Modifier and Type Method Description final UserProfileEfsProgram.Builderfeatures(UserProfileEfsProgram.Features features)The program's features, keyed by feature: data_retention_exemption(use of models that normally require data retention, without the data being retained),cmek(customer-managed encryption keys) andstorage(customer-owned storage).final UserProfileEfsProgram.Builderfeatures(JsonField<UserProfileEfsProgram.Features> features)Sets Builder.features to an arbitrary JSON value. final UserProfileEfsProgram.Builderstatus(UserProfileProgramStatus status)Anthropic's decision on the entity the profile represents: pendingwhile it is awaited,activeonce Anthropic has approved the entity for the program, orrejectedonce Anthropic has declined or has removed the entity from the program.final UserProfileEfsProgram.Builderstatus(JsonField<UserProfileProgramStatus> status)Sets Builder.status to an arbitrary JSON value. final UserProfileEfsProgram.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final UserProfileEfsProgram.BuilderputAdditionalProperty(String key, JsonValue value)final UserProfileEfsProgram.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final UserProfileEfsProgram.BuilderremoveAdditionalProperty(String key)final UserProfileEfsProgram.BuilderremoveAllAdditionalProperties(Set<String> keys)final UserProfileEfsProgrambuild()Returns an immutable instance of UserProfileEfsProgram. -
-
Method Detail
-
features
final UserProfileEfsProgram.Builder features(UserProfileEfsProgram.Features features)
The program's features, keyed by feature:
data_retention_exemption(use of models that normally require data retention, without the data being retained),cmek(customer-managed encryption keys) andstorage(customer-owned storage). Every feature that the caller's organization may read has a key, whether or not it is approved; a missing key does not mean that the feature is inactive. Anthropic may add features; ignore a key you do not recognize.
-
features
final UserProfileEfsProgram.Builder features(JsonField<UserProfileEfsProgram.Features> features)
Sets Builder.features to an arbitrary JSON value.
You should usually call Builder.features with a well-typed Features value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final UserProfileEfsProgram.Builder status(UserProfileProgramStatus status)
Anthropic's decision on the entity the profile represents:
pendingwhile it is awaited,activeonce Anthropic has approved the entity for the program, orrejectedonce Anthropic has declined or has removed the entity from the program.activedoes not mean that any one feature is approved: read the feature you need infeatures.
-
status
final UserProfileEfsProgram.Builder status(JsonField<UserProfileProgramStatus> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed UserProfileProgramStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UserProfileEfsProgram.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UserProfileEfsProgram.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UserProfileEfsProgram.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UserProfileEfsProgram.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UserProfileEfsProgram.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UserProfileEfsProgram build()
Returns an immutable instance of UserProfileEfsProgram.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.features() .status()
-
-
-
-