public Boolean isAutoAssignPublicIps() {
        return this.autoAssignPublicIps;
    }
<p>
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's
instances. For more information, see <a
href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html">How to Edit a
Layer</a>.
</p>

@return For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's
        instances. For more information, see <a
        href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html">How to Edit a
        Layer</a>.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerRequest.java