Class AwsExternalKeyConfig.Builder
-
- All Implemented Interfaces:
public final class AwsExternalKeyConfig.BuilderA builder for AwsExternalKeyConfig.
-
-
Method Summary
-
-
Method Detail
-
kmsArn
final AwsExternalKeyConfig.Builder kmsArn(String kmsArn)
Full ARN of the AWS KMS key. On Claude Platform on AWS, alias ARNs are rejected, and your organization's own key must be a single-Region key.
-
kmsArn
final AwsExternalKeyConfig.Builder kmsArn(JsonField<String> kmsArn)
Sets Builder.kmsArn to an arbitrary JSON value.
You should usually call Builder.kmsArn 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 AwsExternalKeyConfig.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("aws")This method is primarily for setting the field to an undocumented or not yet supported value.
-
region
final AwsExternalKeyConfig.Builder region(String region)
AWS region. Derived from
kms_arnif omitted.
-
region
final AwsExternalKeyConfig.Builder region(Optional<String> region)
Alias for calling Builder.region with
region.orElse(null).
-
region
final AwsExternalKeyConfig.Builder region(JsonField<String> region)
Sets Builder.region to an arbitrary JSON value.
You should usually call Builder.region 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 AwsExternalKeyConfig.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AwsExternalKeyConfig.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AwsExternalKeyConfig.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AwsExternalKeyConfig.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AwsExternalKeyConfig.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AwsExternalKeyConfig build()
Returns an immutable instance of AwsExternalKeyConfig.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.kmsArn()
-
-
-
-