// *** 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.gcp.looker.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 InstanceEncryptionConfig {
    /**
     * @return Name of the customer managed encryption key (CMEK) in KMS.
     * 
     */
    private @Nullable String kmsKeyName;
    /**
     * @return (Output)
     * Full name and version of the CMEK key currently in use to encrypt Looker data.
     * 
     */
    private @Nullable String kmsKeyNameVersion;
    /**
     * @return (Output)
     * Status of the customer managed encryption key (CMEK) in KMS.
     * 
     */
    private @Nullable String kmsKeyState;

    private InstanceEncryptionConfig() {}
    /**
     * @return Name of the customer managed encryption key (CMEK) in KMS.
     * 
     */
    public Optional<String> kmsKeyName() {
        return Optional.ofNullable(this.kmsKeyName);
    }
    /**
     * @return (Output)
     * Full name and version of the CMEK key currently in use to encrypt Looker data.
     * 
     */
    public Optional<String> kmsKeyNameVersion() {
        return Optional.ofNullable(this.kmsKeyNameVersion);
    }
    /**
     * @return (Output)
     * Status of the customer managed encryption key (CMEK) in KMS.
     * 
     */
    public Optional<String> kmsKeyState() {
        return Optional.ofNullable(this.kmsKeyState);
    }

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

    public static Builder builder(InstanceEncryptionConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String kmsKeyName;
        private @Nullable String kmsKeyNameVersion;
        private @Nullable String kmsKeyState;
        public Builder() {}
        public Builder(InstanceEncryptionConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.kmsKeyName = defaults.kmsKeyName;
    	      this.kmsKeyNameVersion = defaults.kmsKeyNameVersion;
    	      this.kmsKeyState = defaults.kmsKeyState;
        }

        @CustomType.Setter
        public Builder kmsKeyName(@Nullable String kmsKeyName) {
            this.kmsKeyName = kmsKeyName;
            return this;
        }
        @CustomType.Setter
        public Builder kmsKeyNameVersion(@Nullable String kmsKeyNameVersion) {
            this.kmsKeyNameVersion = kmsKeyNameVersion;
            return this;
        }
        @CustomType.Setter
        public Builder kmsKeyState(@Nullable String kmsKeyState) {
            this.kmsKeyState = kmsKeyState;
            return this;
        }
        public InstanceEncryptionConfig build() {
            final var o = new InstanceEncryptionConfig();
            o.kmsKeyName = kmsKeyName;
            o.kmsKeyNameVersion = kmsKeyNameVersion;
            o.kmsKeyState = kmsKeyState;
            return o;
        }
    }
}
