// *** 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.dynamodb.inputs;

import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;


public final class GetTableServerSideEncryption extends com.pulumi.resources.InvokeArgs {

    public static final GetTableServerSideEncryption Empty = new GetTableServerSideEncryption();

    @Import(name="enabled", required=true)
    private Boolean enabled;

    public Boolean enabled() {
        return this.enabled;
    }

    @Import(name="kmsKeyArn", required=true)
    private String kmsKeyArn;

    public String kmsKeyArn() {
        return this.kmsKeyArn;
    }

    private GetTableServerSideEncryption() {}

    private GetTableServerSideEncryption(GetTableServerSideEncryption $) {
        this.enabled = $.enabled;
        this.kmsKeyArn = $.kmsKeyArn;
    }

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

    public static final class Builder {
        private GetTableServerSideEncryption $;

        public Builder() {
            $ = new GetTableServerSideEncryption();
        }

        public Builder(GetTableServerSideEncryption defaults) {
            $ = new GetTableServerSideEncryption(Objects.requireNonNull(defaults));
        }

        public Builder enabled(Boolean enabled) {
            $.enabled = enabled;
            return this;
        }

        public Builder kmsKeyArn(String kmsKeyArn) {
            $.kmsKeyArn = kmsKeyArn;
            return this;
        }

        public GetTableServerSideEncryption build() {
            $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null");
            $.kmsKeyArn = Objects.requireNonNull($.kmsKeyArn, "expected parameter 'kmsKeyArn' to be non-null");
            return $;
        }
    }

}
