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

com.pulumi.aws.ec2.inputs.DefaultVpcDhcpOptionsState 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.ec2.inputs;

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


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

    public static final DefaultVpcDhcpOptionsState Empty = new DefaultVpcDhcpOptionsState();

    /**
     * The ARN of the DHCP Options Set.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The ARN of the DHCP Options Set.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    @Import(name="domainName")
    private @Nullable Output domainName;

    public Optional> domainName() {
        return Optional.ofNullable(this.domainName);
    }

    @Import(name="domainNameServers")
    private @Nullable Output domainNameServers;

    public Optional> domainNameServers() {
        return Optional.ofNullable(this.domainNameServers);
    }

    @Import(name="ipv6AddressPreferredLeaseTime")
    private @Nullable Output ipv6AddressPreferredLeaseTime;

    public Optional> ipv6AddressPreferredLeaseTime() {
        return Optional.ofNullable(this.ipv6AddressPreferredLeaseTime);
    }

    /**
     * List of NETBIOS name servers.
     * 
     */
    @Import(name="netbiosNameServers")
    private @Nullable Output netbiosNameServers;

    /**
     * @return List of NETBIOS name servers.
     * 
     */
    public Optional> netbiosNameServers() {
        return Optional.ofNullable(this.netbiosNameServers);
    }

    /**
     * The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
     * 
     */
    @Import(name="netbiosNodeType")
    private @Nullable Output netbiosNodeType;

    /**
     * @return The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
     * 
     */
    public Optional> netbiosNodeType() {
        return Optional.ofNullable(this.netbiosNodeType);
    }

    @Import(name="ntpServers")
    private @Nullable Output ntpServers;

    public Optional> ntpServers() {
        return Optional.ofNullable(this.ntpServers);
    }

    /**
     * The ID of the AWS account that owns the DHCP options set.
     * 
     */
    @Import(name="ownerId")
    private @Nullable Output ownerId;

    /**
     * @return The ID of the AWS account that owns the DHCP options set.
     * 
     */
    public Optional> ownerId() {
        return Optional.ofNullable(this.ownerId);
    }

    /**
     * A map of tags to assign to the resource.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A map of tags to assign to the resource.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    private DefaultVpcDhcpOptionsState() {}

    private DefaultVpcDhcpOptionsState(DefaultVpcDhcpOptionsState $) {
        this.arn = $.arn;
        this.domainName = $.domainName;
        this.domainNameServers = $.domainNameServers;
        this.ipv6AddressPreferredLeaseTime = $.ipv6AddressPreferredLeaseTime;
        this.netbiosNameServers = $.netbiosNameServers;
        this.netbiosNodeType = $.netbiosNodeType;
        this.ntpServers = $.ntpServers;
        this.ownerId = $.ownerId;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
    }

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

    public static final class Builder {
        private DefaultVpcDhcpOptionsState $;

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

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

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

        /**
         * @param arn The ARN of the DHCP Options Set.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        public Builder domainName(@Nullable Output domainName) {
            $.domainName = domainName;
            return this;
        }

        public Builder domainName(String domainName) {
            return domainName(Output.of(domainName));
        }

        public Builder domainNameServers(@Nullable Output domainNameServers) {
            $.domainNameServers = domainNameServers;
            return this;
        }

        public Builder domainNameServers(String domainNameServers) {
            return domainNameServers(Output.of(domainNameServers));
        }

        public Builder ipv6AddressPreferredLeaseTime(@Nullable Output ipv6AddressPreferredLeaseTime) {
            $.ipv6AddressPreferredLeaseTime = ipv6AddressPreferredLeaseTime;
            return this;
        }

        public Builder ipv6AddressPreferredLeaseTime(String ipv6AddressPreferredLeaseTime) {
            return ipv6AddressPreferredLeaseTime(Output.of(ipv6AddressPreferredLeaseTime));
        }

        /**
         * @param netbiosNameServers List of NETBIOS name servers.
         * 
         * @return builder
         * 
         */
        public Builder netbiosNameServers(@Nullable Output netbiosNameServers) {
            $.netbiosNameServers = netbiosNameServers;
            return this;
        }

        /**
         * @param netbiosNameServers List of NETBIOS name servers.
         * 
         * @return builder
         * 
         */
        public Builder netbiosNameServers(String netbiosNameServers) {
            return netbiosNameServers(Output.of(netbiosNameServers));
        }

        /**
         * @param netbiosNodeType The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
         * 
         * @return builder
         * 
         */
        public Builder netbiosNodeType(@Nullable Output netbiosNodeType) {
            $.netbiosNodeType = netbiosNodeType;
            return this;
        }

        /**
         * @param netbiosNodeType The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
         * 
         * @return builder
         * 
         */
        public Builder netbiosNodeType(String netbiosNodeType) {
            return netbiosNodeType(Output.of(netbiosNodeType));
        }

        public Builder ntpServers(@Nullable Output ntpServers) {
            $.ntpServers = ntpServers;
            return this;
        }

        public Builder ntpServers(String ntpServers) {
            return ntpServers(Output.of(ntpServers));
        }

        /**
         * @param ownerId The ID of the AWS account that owns the DHCP options set.
         * 
         * @return builder
         * 
         */
        public Builder ownerId(@Nullable Output ownerId) {
            $.ownerId = ownerId;
            return this;
        }

        /**
         * @param ownerId The ID of the AWS account that owns the DHCP options set.
         * 
         * @return builder
         * 
         */
        public Builder ownerId(String ownerId) {
            return ownerId(Output.of(ownerId));
        }

        /**
         * @param tags A map of tags to assign to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A map of tags to assign to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        public DefaultVpcDhcpOptionsState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy