Class AWSKMSConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.AWSKMSConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AWSKMSConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AWSKMSConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<AWSKMSConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
AWSKMSConfig defines the KMS config specific to AWS KMS provider- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AWSKMSConfig()No args constructor for use in serializationAWSKMSConfig(String keyARN, String region)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AWSKMSConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetKeyARN()keyARN specifies the Amazon Resource Name (ARN) of the AWS KMS key used for encryption.StringgetRegion()region specifies the AWS region where the KMS instance exists, and follows the format `<region-prefix>-<region-name>-<number>`, e.g.: `us-east-1`.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKeyARN(String keyARN)keyARN specifies the Amazon Resource Name (ARN) of the AWS KMS key used for encryption.voidsetRegion(String region)region specifies the AWS region where the KMS instance exists, and follows the format `<region-prefix>-<region-name>-<number>`, e.g.: `us-east-1`.AWSKMSConfigBuildertoBuilder()
-
-
-
Method Detail
-
getKeyARN
public String getKeyARN()
keyARN specifies the Amazon Resource Name (ARN) of the AWS KMS key used for encryption. The value must adhere to the format `arn:aws:kms:<region>:<account_id>:key/<key_id>`, where: - `<region>` is the AWS region consisting of lowercase letters and hyphens followed by a number. - `<account_id>` is a 12-digit numeric identifier for the AWS account. - `<key_id>` is a unique identifier for the KMS key, consisting of lowercase hexadecimal characters and hyphens.
-
setKeyARN
public void setKeyARN(String keyARN)
keyARN specifies the Amazon Resource Name (ARN) of the AWS KMS key used for encryption. The value must adhere to the format `arn:aws:kms:<region>:<account_id>:key/<key_id>`, where: - `<region>` is the AWS region consisting of lowercase letters and hyphens followed by a number. - `<account_id>` is a 12-digit numeric identifier for the AWS account. - `<key_id>` is a unique identifier for the KMS key, consisting of lowercase hexadecimal characters and hyphens.
-
getRegion
public String getRegion()
region specifies the AWS region where the KMS instance exists, and follows the format `<region-prefix>-<region-name>-<number>`, e.g.: `us-east-1`. Only lowercase letters and hyphens followed by numbers are allowed.
-
setRegion
public void setRegion(String region)
region specifies the AWS region where the KMS instance exists, and follows the format `<region-prefix>-<region-name>-<number>`, e.g.: `us-east-1`. Only lowercase letters and hyphens followed by numbers are allowed.
-
edit
public AWSKMSConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AWSKMSConfigBuilder>
-
toBuilder
public AWSKMSConfigBuilder toBuilder()
-
-