public CreateLayerResult withLayerId(String layerId) {
        setLayerId(layerId);
        return this;
    }
<p>
The layer ID.
</p>

@param layerId
       The layer ID.
@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/CreateLayerResult.java