Class AiSecretUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class AiSecretUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
metadata
final AiSecretUpdateParams.Body.Builder metadata(AiSecretUpdateParams.Metadata metadata)
-
metadata
final AiSecretUpdateParams.Body.Builder metadata(Optional<AiSecretUpdateParams.Metadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null).
-
metadata
final AiSecretUpdateParams.Body.Builder metadata(JsonField<AiSecretUpdateParams.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.
-
name
final AiSecretUpdateParams.Body.Builder name(String name)
Name of the AI secret
-
name
final AiSecretUpdateParams.Body.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final AiSecretUpdateParams.Body.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.
-
secret
final AiSecretUpdateParams.Body.Builder secret(String secret)
-
secret
final AiSecretUpdateParams.Body.Builder secret(Optional<String> secret)
Alias for calling Builder.secret with
secret.orElse(null).
-
secret
final AiSecretUpdateParams.Body.Builder secret(JsonField<String> secret)
Sets Builder.secret to an arbitrary JSON value.
You should usually call Builder.secret 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 AiSecretUpdateParams.Body.Builder type(String type)
-
type
final AiSecretUpdateParams.Body.Builder type(Optional<String> type)
Alias for calling Builder.type with
type.orElse(null).
-
type
final AiSecretUpdateParams.Body.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.
-
additionalProperties
final AiSecretUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AiSecretUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AiSecretUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AiSecretUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AiSecretUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AiSecretUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-