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

com.pulumi.aws.ec2.outputs.PeeringConnectionOptionsAccepter 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.60.0-alpha.1731982519
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.ec2.outputs;

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

@CustomType
public final class PeeringConnectionOptionsAccepter {
    /**
     * @return Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.
     * 
     */
    private @Nullable Boolean allowRemoteVpcDnsResolution;

    private PeeringConnectionOptionsAccepter() {}
    /**
     * @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);
    }

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

    public static Builder builder(PeeringConnectionOptionsAccepter defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean allowRemoteVpcDnsResolution;
        public Builder() {}
        public Builder(PeeringConnectionOptionsAccepter defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.allowRemoteVpcDnsResolution = defaults.allowRemoteVpcDnsResolution;
        }

        @CustomType.Setter
        public Builder allowRemoteVpcDnsResolution(@Nullable Boolean allowRemoteVpcDnsResolution) {

            this.allowRemoteVpcDnsResolution = allowRemoteVpcDnsResolution;
            return this;
        }
        public PeeringConnectionOptionsAccepter build() {
            final var _resultValue = new PeeringConnectionOptionsAccepter();
            _resultValue.allowRemoteVpcDnsResolution = allowRemoteVpcDnsResolution;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy