Class AISecret.Builder
-
- All Implemented Interfaces:
public final class AISecret.BuilderA builder for AISecret.
-
-
Method Summary
-
-
Method Detail
-
id
final AISecret.Builder id(String id)
Unique identifier for the AI secret
-
id
final AISecret.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final AISecret.Builder name(String name)
Name of the AI secret
-
name
final AISecret.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orgId
final AISecret.Builder orgId(String orgId)
Unique identifier for the organization
-
orgId
final AISecret.Builder orgId(JsonField<String> orgId)
Sets Builder.orgId to an arbitrary JSON value.
You should usually call Builder.orgId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final AISecret.Builder created(OffsetDateTime created)
Date of AI secret creation
-
created
final AISecret.Builder created(Optional<OffsetDateTime> created)
Alias for calling Builder.created with
created.orElse(null).
-
created
final AISecret.Builder created(JsonField<OffsetDateTime> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final AISecret.Builder metadata(AISecret.Metadata metadata)
-
metadata
final AISecret.Builder metadata(Optional<AISecret.Metadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null).
-
metadata
final AISecret.Builder metadata(JsonField<AISecret.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
previewSecret
final AISecret.Builder previewSecret(String previewSecret)
-
previewSecret
final AISecret.Builder previewSecret(Optional<String> previewSecret)
Alias for calling Builder.previewSecret with
previewSecret.orElse(null).
-
previewSecret
final AISecret.Builder previewSecret(JsonField<String> previewSecret)
Sets Builder.previewSecret to an arbitrary JSON value.
You should usually call Builder.previewSecret with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final AISecret.Builder type(String type)
-
type
final AISecret.Builder type(Optional<String> type)
Alias for calling Builder.type with
type.orElse(null).
-
type
final AISecret.Builder type(JsonField<String> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final AISecret.Builder updatedAt(OffsetDateTime updatedAt)
Date of last AI secret update
-
updatedAt
final AISecret.Builder updatedAt(Optional<OffsetDateTime> updatedAt)
Alias for calling Builder.updatedAt with
updatedAt.orElse(null).
-
updatedAt
final AISecret.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AISecret.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AISecret.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AISecret.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AISecret.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AISecret.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-