public void setAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships) {
        this.allowsVpcAndNonVpcInstanceMemberships = allowsVpcAndNonVpcInstanceMemberships;
    }
<p>
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value <code>true</code>
indicates the option group can be applied to both VPC and non-VPC instances.
</p>

@param allowsVpcAndNonVpcInstanceMemberships
       Indicates whether this option group can be applied to both VPC and non-VPC instances. The value
       <code>true</code> indicates the option group can be applied to both VPC and non-VPC instances.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/OptionGroup.java