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

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

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


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

    public static final VpcPeeringConnectionRequesterArgs Empty = new VpcPeeringConnectionRequesterArgs();

    /**
     * Allow a local VPC to resolve public DNS hostnames to
     * private IP addresses when queried from instances in the peer VPC.
     * 
     */
    @Import(name="allowRemoteVpcDnsResolution")
    private @Nullable Output allowRemoteVpcDnsResolution;

    /**
     * @return Allow a local VPC to resolve public DNS hostnames to
     * private IP addresses when queried from instances in the peer VPC.
     * 
     */
    public Optional> allowRemoteVpcDnsResolution() {
        return Optional.ofNullable(this.allowRemoteVpcDnsResolution);
    }

    private VpcPeeringConnectionRequesterArgs() {}

    private VpcPeeringConnectionRequesterArgs(VpcPeeringConnectionRequesterArgs $) {
        this.allowRemoteVpcDnsResolution = $.allowRemoteVpcDnsResolution;
    }

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

    public static final class Builder {
        private VpcPeeringConnectionRequesterArgs $;

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

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

        /**
         * @param allowRemoteVpcDnsResolution Allow a local VPC to resolve public DNS hostnames to
         * private IP addresses when queried from instances in the peer VPC.
         * 
         * @return builder
         * 
         */
        public Builder allowRemoteVpcDnsResolution(@Nullable Output allowRemoteVpcDnsResolution) {
            $.allowRemoteVpcDnsResolution = allowRemoteVpcDnsResolution;
            return this;
        }

        /**
         * @param allowRemoteVpcDnsResolution Allow a local VPC to resolve public DNS hostnames to
         * private IP addresses when queried from instances in the peer VPC.
         * 
         * @return builder
         * 
         */
        public Builder allowRemoteVpcDnsResolution(Boolean allowRemoteVpcDnsResolution) {
            return allowRemoteVpcDnsResolution(Output.of(allowRemoteVpcDnsResolution));
        }

        public VpcPeeringConnectionRequesterArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy