Package com.exoscale.sdk.model
Class CreateKmsKeyRequest
java.lang.Object
com.exoscale.sdk.model.CreateKmsKeyRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class CreateKmsKeyRequest
extends Object
CreateKmsKeyRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe cryptographic key specification defining the key's algorithm and, for asymmetric keys, its curve or modulus size.static enumIndicates the source of the key material, either generated and held within Exoscale KMS, or backed by an external key store.static enumGets or Sets usage -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this create-kms-key-request object is equal to o.An optional detailed description providing additional context about the key's intended use case.The cryptographic key specification defining the key's algorithm and, for asymmetric keys, its curve or modulus size.True if this is a multi-zone key.getName()A human-readable display name uniquely identifying the KMS key within the tenant space.Indicates the source of the key material, either generated and held within Exoscale KMS, or backed by an external key store.getUsage()Get usagegetXks()Get xksinthashCode()keySpec(CreateKmsKeyRequest.KeySpecEnum keySpec) voidsetDescription(String description) voidvoidsetMultiZone(Boolean multiZone) voidvoidvoidvoidsource(CreateKmsKeyRequest.SourceEnum source) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_USAGE
- See Also:
-
JSON_PROPERTY_KEY_SPEC
- See Also:
-
JSON_PROPERTY_MULTI_ZONE
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_XKS
- See Also:
-
-
Constructor Details
-
CreateKmsKeyRequest
public CreateKmsKeyRequest()
-
-
Method Details
-
name
-
getName
A human-readable display name uniquely identifying the KMS key within the tenant space.- Returns:
- name
-
setName
-
description
-
getDescription
An optional detailed description providing additional context about the key's intended use case.- Returns:
- description
-
setDescription
-
usage
-
getUsage
Get usage- Returns:
- usage
-
setUsage
-
keySpec
-
getKeySpec
The cryptographic key specification defining the key's algorithm and, for asymmetric keys, its curve or modulus size.- Returns:
- keySpec
-
setKeySpec
-
multiZone
-
getMultiZone
True if this is a multi-zone key.- Returns:
- multiZone
-
setMultiZone
-
source
-
getSource
Indicates the source of the key material, either generated and held within Exoscale KMS, or backed by an external key store.- Returns:
- source
-
setSource
-
xks
-
getXks
Get xks- Returns:
- xks
-
setXks
-
equals
Return true if this create-kms-key-request object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-