// *** 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.glue.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 SecurityConfigurationEncryptionConfigurationCloudwatchEncryption {
    /**
     * @return Encryption mode to use for CloudWatch data. Valid values: `DISABLED`, `SSE-KMS`. Default value: `DISABLED`.
     * 
     */
    private @Nullable String cloudwatchEncryptionMode;
    /**
     * @return Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
     * 
     */
    private @Nullable String kmsKeyArn;

    private SecurityConfigurationEncryptionConfigurationCloudwatchEncryption() {}
    /**
     * @return Encryption mode to use for CloudWatch data. Valid values: `DISABLED`, `SSE-KMS`. Default value: `DISABLED`.
     * 
     */
    public Optional<String> cloudwatchEncryptionMode() {
        return Optional.ofNullable(this.cloudwatchEncryptionMode);
    }
    /**
     * @return Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
     * 
     */
    public Optional<String> kmsKeyArn() {
        return Optional.ofNullable(this.kmsKeyArn);
    }

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

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

        @CustomType.Setter
        public Builder cloudwatchEncryptionMode(@Nullable String cloudwatchEncryptionMode) {
            this.cloudwatchEncryptionMode = cloudwatchEncryptionMode;
            return this;
        }
        @CustomType.Setter
        public Builder kmsKeyArn(@Nullable String kmsKeyArn) {
            this.kmsKeyArn = kmsKeyArn;
            return this;
        }
        public SecurityConfigurationEncryptionConfigurationCloudwatchEncryption build() {
            final var o = new SecurityConfigurationEncryptionConfigurationCloudwatchEncryption();
            o.cloudwatchEncryptionMode = cloudwatchEncryptionMode;
            o.kmsKeyArn = kmsKeyArn;
            return o;
        }
    }
}
