public StaticImageOutputActivateScheduleActionSettings withLayer(Integer layer) {
        setLayer(layer);
        return this;
    }
The number of the layer, 0 to 7. There are 8 layers that can be overlaid on the video, each layer with a
different image. The layers are in Z order, which means that overlays with higher values of layer are inserted on
top of overlays with lower values of layer. Default is 0.

@param layer
       The number of the layer, 0 to 7. There are 8 layers that can be overlaid on the video, each layer with a
       different image. The layers are in Z order, which means that overlays with higher values of layer are
       inserted on top of overlays with lower values of layer. Default is 0.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/StaticImageOutputActivateScheduleActionSettings.java