public void setLayerId(String layerId) {
        this.layerId = layerId;
    }
<p>
The ID of the layer to which the Elastic Load Balancing instance is to be attached.
</p>

@param layerId
       The ID of the layer to which the Elastic Load Balancing instance is to be attached.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/AttachElasticLoadBalancerRequest.java