Class BetaAwsExternalKeyConfig
-
- All Implemented Interfaces:
public final class BetaAwsExternalKeyConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaAwsExternalKeyConfig.BuilderA builder for BetaAwsExternalKeyConfig.
-
Method Summary
Modifier and Type Method Description final StringkmsArn()Full ARN of the AWS KMS key. final Optional<String>region()AWS region. final Optional<String>roleArn()IAM role ARN. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("aws")final JsonField<String>_kmsArn()Returns the raw JSON value of kmsArn. final JsonField<String>_region()Returns the raw JSON value of region. final JsonField<String>_roleArn()Returns the raw JSON value of roleArn. final Map<String, JsonValue>_additionalProperties()final BetaAwsExternalKeyConfig.BuildertoBuilder()final BetaAwsExternalKeyConfigvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaAwsExternalKeyConfig.Builderbuilder()Returns a mutable builder for constructing an instance of BetaAwsExternalKeyConfig. final static BetaAwsExternalKeyConfigof(String kmsArn)Returns an immutable instance of BetaAwsExternalKeyConfig with the required kmsArn set to the given value. -
-
Method Detail
-
kmsArn
final 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.
-
roleArn
@Deprecated(message = "deprecated") final Optional<String> roleArn()
IAM role ARN. Deprecated; this field is ignored.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("aws")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_kmsArn
final JsonField<String> _kmsArn()
Returns the raw JSON value of kmsArn.
Unlike kmsArn, this method doesn't throw if the JSON field has an unexpected type.
-
_region
final JsonField<String> _region()
Returns the raw JSON value of region.
Unlike region, this method doesn't throw if the JSON field has an unexpected type.
-
_roleArn
@Deprecated(message = "deprecated") final JsonField<String> _roleArn()
Returns the raw JSON value of roleArn.
Unlike roleArn, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaAwsExternalKeyConfig.Builder toBuilder()
-
validate
final BetaAwsExternalKeyConfig 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.
-
builder
final static BetaAwsExternalKeyConfig.Builder builder()
Returns a mutable builder for constructing an instance of BetaAwsExternalKeyConfig.
The following fields are required:
.kmsArn()
-
of
final static BetaAwsExternalKeyConfig of(String kmsArn)
Returns an immutable instance of BetaAwsExternalKeyConfig with the required kmsArn set to the given value.
-
-
-
-