public DescribeInstancesRequest withLayerId(String layerId) {
        setLayerId(layerId);
        return this;
    }
<p>
A layer ID. If you use this parameter, <code>DescribeInstances</code> returns descriptions of the instances
associated with the specified layer.
</p>

@param layerId
       A layer ID. If you use this parameter, <code>DescribeInstances</code> returns descriptions of the
       instances associated with the specified layer.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/DescribeInstancesRequest.java