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

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


public final class DomainIdentityArgs extends com.pulumi.resources.ResourceArgs {

    public static final DomainIdentityArgs Empty = new DomainIdentityArgs();

    /**
     * The domain name to assign to SES
     * 
     */
    @Import(name="domain", required=true)
    private Output<String> domain;

    /**
     * @return The domain name to assign to SES
     * 
     */
    public Output<String> domain() {
        return this.domain;
    }

    private DomainIdentityArgs() {}

    private DomainIdentityArgs(DomainIdentityArgs $) {
        this.domain = $.domain;
    }

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

    public static final class Builder {
        private DomainIdentityArgs $;

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

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

        /**
         * @param domain The domain name to assign to SES
         * 
         * @return builder
         * 
         */
        public Builder domain(Output<String> domain) {
            $.domain = domain;
            return this;
        }

        /**
         * @param domain The domain name to assign to SES
         * 
         * @return builder
         * 
         */
        public Builder domain(String domain) {
            return domain(Output.of(domain));
        }

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

}
