Class ExternalKeyCreateParams.Body
-
- All Implemented Interfaces:
public final class ExternalKeyCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classExternalKeyCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final ExternalKeyCreateParams.ProviderConfigproviderConfig()KMS provider identity and auth coordinates. final Optional<String>displayName()Human-friendly display name. final Optional<ExternalKeyCreateParams.Geo>geo()Data residency geo. final Optional<String>userProfileId()ID of a user profile to bind the key to. final JsonField<ExternalKeyCreateParams.ProviderConfig>_providerConfig()Returns the raw JSON value of providerConfig. final JsonField<String>_displayName()Returns the raw JSON value of displayName. final JsonField<ExternalKeyCreateParams.Geo>_geo()Returns the raw JSON value of geo. final JsonField<String>_userProfileId()Returns the raw JSON value of userProfileId. final Map<String, JsonValue>_additionalProperties()final ExternalKeyCreateParams.Body.BuildertoBuilder()final ExternalKeyCreateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ExternalKeyCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. final static ExternalKeyCreateParams.Bodyof(ExternalKeyCreateParams.ProviderConfig providerConfig)Returns an immutable instance of Body with the required providerConfig set to the given value. final static ExternalKeyCreateParams.Bodyof(AwsExternalKeyConfig aws)Alias for calling of with ProviderConfig.ofAws(aws).final static ExternalKeyCreateParams.Bodyof(GcpExternalKeyConfig gcp)Alias for calling of with ProviderConfig.ofGcp(gcp).final static ExternalKeyCreateParams.Bodyof(AzureExternalKeyConfigParam azure)Alias for calling of with ProviderConfig.ofAzure(azure).-
-
Method Detail
-
providerConfig
final ExternalKeyCreateParams.ProviderConfig providerConfig()
KMS provider identity and auth coordinates.
-
displayName
final Optional<String> displayName()
Human-friendly display name.
-
geo
final Optional<ExternalKeyCreateParams.Geo> geo()
Data residency geo. Only
usis supported.
-
userProfileId
final Optional<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.
-
_providerConfig
final JsonField<ExternalKeyCreateParams.ProviderConfig> _providerConfig()
Returns the raw JSON value of providerConfig.
Unlike providerConfig, this method doesn't throw if the JSON field has an unexpected type.
-
_displayName
final JsonField<String> _displayName()
Returns the raw JSON value of displayName.
Unlike displayName, this method doesn't throw if the JSON field has an unexpected type.
-
_geo
final JsonField<ExternalKeyCreateParams.Geo> _geo()
Returns the raw JSON value of geo.
Unlike geo, this method doesn't throw if the JSON field has an unexpected type.
-
_userProfileId
final JsonField<String> _userProfileId()
Returns the raw JSON value of userProfileId.
Unlike userProfileId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ExternalKeyCreateParams.Body.Builder toBuilder()
-
validate
final ExternalKeyCreateParams.Body 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 ExternalKeyCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.providerConfig()
-
of
final static ExternalKeyCreateParams.Body of(ExternalKeyCreateParams.ProviderConfig providerConfig)
Returns an immutable instance of Body with the required providerConfig set to the given value.
-
of
final static ExternalKeyCreateParams.Body of(AwsExternalKeyConfig aws)
Alias for calling of with
ProviderConfig.ofAws(aws).
-
of
final static ExternalKeyCreateParams.Body of(GcpExternalKeyConfig gcp)
Alias for calling of with
ProviderConfig.ofGcp(gcp).
-
of
final static ExternalKeyCreateParams.Body of(AzureExternalKeyConfigParam azure)
Alias for calling of with
ProviderConfig.ofAzure(azure).
-
-
-
-