public void setType(String type) {
        this.type = type;
    }
<p>
The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of
custom layers. Built-in layers are not available in Chef 12 stacks.
</p>

@param type
       The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number
       of custom layers. Built-in layers are not available in Chef 12 stacks.
@see LayerType
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerRequest.java