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

com.pulumi.aws.ses.inputs.DomainDkimState Maven / Gradle / Ivy

Go to download

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

The 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.ses.inputs;

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


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

    public static final DomainDkimState Empty = new DomainDkimState();

    /**
     * DKIM tokens generated by SES.
     * These tokens should be used to create CNAME records used to verify SES Easy DKIM.
     * See below for an example of how this might be achieved
     * when the domain is hosted in Route 53 and managed by this provider.
     * Find out more about verifying domains in Amazon SES
     * in the [AWS SES docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html).
     * 
     */
    @Import(name="dkimTokens")
    private @Nullable Output> dkimTokens;

    /**
     * @return DKIM tokens generated by SES.
     * These tokens should be used to create CNAME records used to verify SES Easy DKIM.
     * See below for an example of how this might be achieved
     * when the domain is hosted in Route 53 and managed by this provider.
     * Find out more about verifying domains in Amazon SES
     * in the [AWS SES docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html).
     * 
     */
    public Optional>> dkimTokens() {
        return Optional.ofNullable(this.dkimTokens);
    }

    /**
     * Verified domain name to generate DKIM tokens for.
     * 
     */
    @Import(name="domain")
    private @Nullable Output domain;

    /**
     * @return Verified domain name to generate DKIM tokens for.
     * 
     */
    public Optional> domain() {
        return Optional.ofNullable(this.domain);
    }

    private DomainDkimState() {}

    private DomainDkimState(DomainDkimState $) {
        this.dkimTokens = $.dkimTokens;
        this.domain = $.domain;
    }

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

    public static final class Builder {
        private DomainDkimState $;

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

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

        /**
         * @param dkimTokens DKIM tokens generated by SES.
         * These tokens should be used to create CNAME records used to verify SES Easy DKIM.
         * See below for an example of how this might be achieved
         * when the domain is hosted in Route 53 and managed by this provider.
         * Find out more about verifying domains in Amazon SES
         * in the [AWS SES docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html).
         * 
         * @return builder
         * 
         */
        public Builder dkimTokens(@Nullable Output> dkimTokens) {
            $.dkimTokens = dkimTokens;
            return this;
        }

        /**
         * @param dkimTokens DKIM tokens generated by SES.
         * These tokens should be used to create CNAME records used to verify SES Easy DKIM.
         * See below for an example of how this might be achieved
         * when the domain is hosted in Route 53 and managed by this provider.
         * Find out more about verifying domains in Amazon SES
         * in the [AWS SES docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html).
         * 
         * @return builder
         * 
         */
        public Builder dkimTokens(List dkimTokens) {
            return dkimTokens(Output.of(dkimTokens));
        }

        /**
         * @param dkimTokens DKIM tokens generated by SES.
         * These tokens should be used to create CNAME records used to verify SES Easy DKIM.
         * See below for an example of how this might be achieved
         * when the domain is hosted in Route 53 and managed by this provider.
         * Find out more about verifying domains in Amazon SES
         * in the [AWS SES docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html).
         * 
         * @return builder
         * 
         */
        public Builder dkimTokens(String... dkimTokens) {
            return dkimTokens(List.of(dkimTokens));
        }

        /**
         * @param domain Verified domain name to generate DKIM tokens for.
         * 
         * @return builder
         * 
         */
        public Builder domain(@Nullable Output domain) {
            $.domain = domain;
            return this;
        }

        /**
         * @param domain Verified domain name to generate DKIM tokens for.
         * 
         * @return builder
         * 
         */
        public Builder domain(String domain) {
            return domain(Output.of(domain));
        }

        public DomainDkimState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy