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

com.pulumi.aws.route53.inputs.DelegationSetState Maven / Gradle / Ivy

// *** 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.route53.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 DelegationSetState extends com.pulumi.resources.ResourceArgs {

    public static final DelegationSetState Empty = new DelegationSetState();

    /**
     * The Amazon Resource Name (ARN) of the Delegation Set.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The Amazon Resource Name (ARN) of the Delegation Set.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * A list of authoritative name servers for the hosted zone
     * (effectively a list of NS records).
     * 
     */
    @Import(name="nameServers")
    private @Nullable Output> nameServers;

    /**
     * @return A list of authoritative name servers for the hosted zone
     * (effectively a list of NS records).
     * 
     */
    public Optional>> nameServers() {
        return Optional.ofNullable(this.nameServers);
    }

    /**
     * This is a reference name used in Caller Reference
     * (helpful for identifying single delegation set amongst others)
     * 
     */
    @Import(name="referenceName")
    private @Nullable Output referenceName;

    /**
     * @return This is a reference name used in Caller Reference
     * (helpful for identifying single delegation set amongst others)
     * 
     */
    public Optional> referenceName() {
        return Optional.ofNullable(this.referenceName);
    }

    private DelegationSetState() {}

    private DelegationSetState(DelegationSetState $) {
        this.arn = $.arn;
        this.nameServers = $.nameServers;
        this.referenceName = $.referenceName;
    }

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

    public static final class Builder {
        private DelegationSetState $;

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

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

        /**
         * @param arn The Amazon Resource Name (ARN) of the Delegation Set.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn The Amazon Resource Name (ARN) of the Delegation Set.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param nameServers A list of authoritative name servers for the hosted zone
         * (effectively a list of NS records).
         * 
         * @return builder
         * 
         */
        public Builder nameServers(@Nullable Output> nameServers) {
            $.nameServers = nameServers;
            return this;
        }

        /**
         * @param nameServers A list of authoritative name servers for the hosted zone
         * (effectively a list of NS records).
         * 
         * @return builder
         * 
         */
        public Builder nameServers(List nameServers) {
            return nameServers(Output.of(nameServers));
        }

        /**
         * @param nameServers A list of authoritative name servers for the hosted zone
         * (effectively a list of NS records).
         * 
         * @return builder
         * 
         */
        public Builder nameServers(String... nameServers) {
            return nameServers(List.of(nameServers));
        }

        /**
         * @param referenceName This is a reference name used in Caller Reference
         * (helpful for identifying single delegation set amongst others)
         * 
         * @return builder
         * 
         */
        public Builder referenceName(@Nullable Output referenceName) {
            $.referenceName = referenceName;
            return this;
        }

        /**
         * @param referenceName This is a reference name used in Caller Reference
         * (helpful for identifying single delegation set amongst others)
         * 
         * @return builder
         * 
         */
        public Builder referenceName(String referenceName) {
            return referenceName(Output.of(referenceName));
        }

        public DelegationSetState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy