public PeeringConnectionOptionsRequest withAllowDnsResolutionFromRemoteVpc(Boolean allowDnsResolutionFromRemoteVpc) {
        setAllowDnsResolutionFromRemoteVpc(allowDnsResolutionFromRemoteVpc);
        return this;
    }
<p>
If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances
in the peer VPC.
</p>

@param allowDnsResolutionFromRemoteVpc
       If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from
       instances in the peer VPC.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/PeeringConnectionOptionsRequest.java