Class ExternalKeyCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class ExternalKeyCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
providerConfig
final ExternalKeyCreateParams.Body.Builder providerConfig(ExternalKeyCreateParams.ProviderConfig providerConfig)
KMS provider identity and auth coordinates.
-
providerConfig
final ExternalKeyCreateParams.Body.Builder providerConfig(JsonField<ExternalKeyCreateParams.ProviderConfig> providerConfig)
Sets Builder.providerConfig to an arbitrary JSON value.
You should usually call Builder.providerConfig with a well-typed ProviderConfig value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
providerConfig
final ExternalKeyCreateParams.Body.Builder providerConfig(BetaAwsExternalKeyConfig aws)
Alias for calling providerConfig with
ProviderConfig.ofAws(aws).
-
providerConfig
final ExternalKeyCreateParams.Body.Builder providerConfig(BetaGcpExternalKeyConfig gcp)
Alias for calling providerConfig with
ProviderConfig.ofGcp(gcp).
-
providerConfig
final ExternalKeyCreateParams.Body.Builder providerConfig(BetaAzureExternalKeyConfigParam azure)
Alias for calling providerConfig with
ProviderConfig.ofAzure(azure).
-
displayName
final ExternalKeyCreateParams.Body.Builder displayName(String displayName)
Human-friendly display name.
-
displayName
final ExternalKeyCreateParams.Body.Builder displayName(Optional<String> displayName)
Alias for calling Builder.displayName with
displayName.orElse(null).
-
displayName
final ExternalKeyCreateParams.Body.Builder displayName(JsonField<String> displayName)
Sets Builder.displayName to an arbitrary JSON value.
You should usually call Builder.displayName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
geo
final ExternalKeyCreateParams.Body.Builder geo(ExternalKeyCreateParams.Geo geo)
Data residency geo. Only
usis supported.
-
geo
final ExternalKeyCreateParams.Body.Builder geo(JsonField<ExternalKeyCreateParams.Geo> geo)
Sets Builder.geo to an arbitrary JSON value.
You should usually call Builder.geo with a well-typed Geo value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userProfileId
final ExternalKeyCreateParams.Body.Builder userProfileId(String userProfileId)
ID of a user profile to bind the key to. A user profile represents one of your customers: bind a customer's key to that customer's user profile. A key bound to a user profile can only be attached to a Workspace that has the same user profile, and the binding cannot be changed later. Omit this field only for your organization's own key, never a customer's. A key created without a user profile ID can't be attached to a Workspace that has a user profile, and you can't add one to the key later.
-
userProfileId
final ExternalKeyCreateParams.Body.Builder userProfileId(Optional<String> userProfileId)
Alias for calling Builder.userProfileId with
userProfileId.orElse(null).
-
userProfileId
final ExternalKeyCreateParams.Body.Builder userProfileId(JsonField<String> userProfileId)
Sets Builder.userProfileId to an arbitrary JSON value.
You should usually call Builder.userProfileId 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 ExternalKeyCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
awsProviderConfig
final ExternalKeyCreateParams.Body.Builder awsProviderConfig(String kmsArn)
Alias for calling providerConfig with the following:
BetaAwsExternalKeyConfig.builder() .kmsArn(kmsArn) .build()
-
gcpProviderConfig
final ExternalKeyCreateParams.Body.Builder gcpProviderConfig(String keyName)
Alias for calling providerConfig with the following:
BetaGcpExternalKeyConfig.builder() .keyName(keyName) .build()
-
putAdditionalProperty
final ExternalKeyCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ExternalKeyCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ExternalKeyCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ExternalKeyCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ExternalKeyCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.providerConfig()
-
-
-
-