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

com.pulumi.aws.vpc.EndpointPrivateDnsArgs Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.72.0
Show 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.vpc;

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


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

    public static final EndpointPrivateDnsArgs Empty = new EndpointPrivateDnsArgs();

    /**
     * Indicates whether a private hosted zone is associated with the VPC. Only applicable for `Interface` endpoints.
     * 
     */
    @Import(name="privateDnsEnabled", required=true)
    private Output privateDnsEnabled;

    /**
     * @return Indicates whether a private hosted zone is associated with the VPC. Only applicable for `Interface` endpoints.
     * 
     */
    public Output privateDnsEnabled() {
        return this.privateDnsEnabled;
    }

    /**
     * VPC endpoint identifier.
     * 
     */
    @Import(name="vpcEndpointId", required=true)
    private Output vpcEndpointId;

    /**
     * @return VPC endpoint identifier.
     * 
     */
    public Output vpcEndpointId() {
        return this.vpcEndpointId;
    }

    private EndpointPrivateDnsArgs() {}

    private EndpointPrivateDnsArgs(EndpointPrivateDnsArgs $) {
        this.privateDnsEnabled = $.privateDnsEnabled;
        this.vpcEndpointId = $.vpcEndpointId;
    }

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

    public static final class Builder {
        private EndpointPrivateDnsArgs $;

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

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

        /**
         * @param privateDnsEnabled Indicates whether a private hosted zone is associated with the VPC. Only applicable for `Interface` endpoints.
         * 
         * @return builder
         * 
         */
        public Builder privateDnsEnabled(Output privateDnsEnabled) {
            $.privateDnsEnabled = privateDnsEnabled;
            return this;
        }

        /**
         * @param privateDnsEnabled Indicates whether a private hosted zone is associated with the VPC. Only applicable for `Interface` endpoints.
         * 
         * @return builder
         * 
         */
        public Builder privateDnsEnabled(Boolean privateDnsEnabled) {
            return privateDnsEnabled(Output.of(privateDnsEnabled));
        }

        /**
         * @param vpcEndpointId VPC endpoint identifier.
         * 
         * @return builder
         * 
         */
        public Builder vpcEndpointId(Output vpcEndpointId) {
            $.vpcEndpointId = vpcEndpointId;
            return this;
        }

        /**
         * @param vpcEndpointId VPC endpoint identifier.
         * 
         * @return builder
         * 
         */
        public Builder vpcEndpointId(String vpcEndpointId) {
            return vpcEndpointId(Output.of(vpcEndpointId));
        }

        public EndpointPrivateDnsArgs build() {
            if ($.privateDnsEnabled == null) {
                throw new MissingRequiredPropertyException("EndpointPrivateDnsArgs", "privateDnsEnabled");
            }
            if ($.vpcEndpointId == null) {
                throw new MissingRequiredPropertyException("EndpointPrivateDnsArgs", "vpcEndpointId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy