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

com.pulumi.aws.route53.inputs.ResolverEndpointIpAddressArgs 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.route53.inputs;

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


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

    public static final ResolverEndpointIpAddressArgs Empty = new ResolverEndpointIpAddressArgs();

    /**
     * IPv4 address in the subnet that you want to use for DNS queries.
     * 
     */
    @Import(name="ip")
    private @Nullable Output ip;

    /**
     * @return IPv4 address in the subnet that you want to use for DNS queries.
     * 
     */
    public Optional> ip() {
        return Optional.ofNullable(this.ip);
    }

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

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

    /**
     * IPv6 address in the subnet that you want to use for DNS queries.
     * 
     */
    @Import(name="ipv6")
    private @Nullable Output ipv6;

    /**
     * @return IPv6 address in the subnet that you want to use for DNS queries.
     * 
     */
    public Optional> ipv6() {
        return Optional.ofNullable(this.ipv6);
    }

    /**
     * ID of the subnet that contains the IP address.
     * 
     */
    @Import(name="subnetId", required=true)
    private Output subnetId;

    /**
     * @return ID of the subnet that contains the IP address.
     * 
     */
    public Output subnetId() {
        return this.subnetId;
    }

    private ResolverEndpointIpAddressArgs() {}

    private ResolverEndpointIpAddressArgs(ResolverEndpointIpAddressArgs $) {
        this.ip = $.ip;
        this.ipId = $.ipId;
        this.ipv6 = $.ipv6;
        this.subnetId = $.subnetId;
    }

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

    public static final class Builder {
        private ResolverEndpointIpAddressArgs $;

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

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

        /**
         * @param ip IPv4 address in the subnet that you want to use for DNS queries.
         * 
         * @return builder
         * 
         */
        public Builder ip(@Nullable Output ip) {
            $.ip = ip;
            return this;
        }

        /**
         * @param ip IPv4 address in the subnet that you want to use for DNS queries.
         * 
         * @return builder
         * 
         */
        public Builder ip(String ip) {
            return ip(Output.of(ip));
        }

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

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

        /**
         * @param ipv6 IPv6 address in the subnet that you want to use for DNS queries.
         * 
         * @return builder
         * 
         */
        public Builder ipv6(@Nullable Output ipv6) {
            $.ipv6 = ipv6;
            return this;
        }

        /**
         * @param ipv6 IPv6 address in the subnet that you want to use for DNS queries.
         * 
         * @return builder
         * 
         */
        public Builder ipv6(String ipv6) {
            return ipv6(Output.of(ipv6));
        }

        /**
         * @param subnetId ID of the subnet that contains the IP address.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(Output subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        /**
         * @param subnetId ID of the subnet that contains the IP address.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(String subnetId) {
            return subnetId(Output.of(subnetId));
        }

        public ResolverEndpointIpAddressArgs build() {
            if ($.subnetId == null) {
                throw new MissingRequiredPropertyException("ResolverEndpointIpAddressArgs", "subnetId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy