All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.keyspaces.outputs.TableEncryptionSpecification Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.keyspaces.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class TableEncryptionSpecification {
    /**
     * @return The Amazon Resource Name (ARN) of the customer managed KMS key.
     * 
     */
    private @Nullable String kmsKeyIdentifier;
    /**
     * @return The encryption option specified for the table. Valid values: `AWS_OWNED_KMS_KEY`, `CUSTOMER_MANAGED_KMS_KEY`. The default value is `AWS_OWNED_KMS_KEY`.
     * 
     */
    private @Nullable String type;

    private TableEncryptionSpecification() {}
    /**
     * @return The Amazon Resource Name (ARN) of the customer managed KMS key.
     * 
     */
    public Optional kmsKeyIdentifier() {
        return Optional.ofNullable(this.kmsKeyIdentifier);
    }
    /**
     * @return The encryption option specified for the table. Valid values: `AWS_OWNED_KMS_KEY`, `CUSTOMER_MANAGED_KMS_KEY`. The default value is `AWS_OWNED_KMS_KEY`.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(TableEncryptionSpecification defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String kmsKeyIdentifier;
        private @Nullable String type;
        public Builder() {}
        public Builder(TableEncryptionSpecification defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.kmsKeyIdentifier = defaults.kmsKeyIdentifier;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder kmsKeyIdentifier(@Nullable String kmsKeyIdentifier) {

            this.kmsKeyIdentifier = kmsKeyIdentifier;
            return this;
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        public TableEncryptionSpecification build() {
            final var _resultValue = new TableEncryptionSpecification();
            _resultValue.kmsKeyIdentifier = kmsKeyIdentifier;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy