### YamlMime:JavaType uid: "com.azure.resourcemanager.mediaservices.models.Layer" fullName: "com.azure.resourcemanager.mediaservices.models.Layer" name: "Layer" nameWithType: "Layer" summary: "The encoder can be configured to produce video and/or images (thumbnails) at different resolutions, by specifying a layer for each desired resolution." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public class **Layer**" constructors: - uid: "com.azure.resourcemanager.mediaservices.models.Layer.Layer()" fullName: "com.azure.resourcemanager.mediaservices.models.Layer.Layer()" name: "Layer()" nameWithType: "Layer.Layer()" summary: "Creates an instance of Layer class." syntax: "public Layer()" desc: "Creates an instance of Layer class." methods: - uid: "com.azure.resourcemanager.mediaservices.models.Layer.height()" fullName: "com.azure.resourcemanager.mediaservices.models.Layer.height()" name: "height()" nameWithType: "Layer.height()" summary: "Get the height property: The height of the output video for this layer." syntax: "public String height()" desc: "Get the height property: The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in height as the input." returns: description: "the height value." type: "String" - uid: "com.azure.resourcemanager.mediaservices.models.Layer.label()" fullName: "com.azure.resourcemanager.mediaservices.models.Layer.label()" name: "label()" nameWithType: "Layer.label()" summary: "Get the label property: The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file." syntax: "public String label()" desc: "Get the label property: The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file." returns: description: "the label value." type: "String" - uid: "com.azure.resourcemanager.mediaservices.models.Layer.validate()" fullName: "com.azure.resourcemanager.mediaservices.models.Layer.validate()" name: "validate()" nameWithType: "Layer.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.mediaservices.models.Layer.width()" fullName: "com.azure.resourcemanager.mediaservices.models.Layer.width()" name: "width()" nameWithType: "Layer.width()" summary: "Get the width property: The width of the output video for this layer." syntax: "public String width()" desc: "Get the width property: The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in width as the input." returns: description: "the width value." type: "String" - uid: "com.azure.resourcemanager.mediaservices.models.Layer.withHeight(java.lang.String)" fullName: "com.azure.resourcemanager.mediaservices.models.Layer.withHeight(String height)" name: "withHeight(String height)" nameWithType: "Layer.withHeight(String height)" summary: "Set the height property: The height of the output video for this layer." parameters: - description: "the height value to set." name: "height" type: "String" syntax: "public Layer withHeight(String height)" desc: "Set the height property: The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in height as the input." returns: description: "the Layer object itself." type: "" - uid: "com.azure.resourcemanager.mediaservices.models.Layer.withLabel(java.lang.String)" fullName: "com.azure.resourcemanager.mediaservices.models.Layer.withLabel(String label)" name: "withLabel(String label)" nameWithType: "Layer.withLabel(String label)" summary: "Set the label property: The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file." parameters: - description: "the label value to set." name: "label" type: "String" syntax: "public Layer withLabel(String label)" desc: "Set the label property: The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file." returns: description: "the Layer object itself." type: "" - uid: "com.azure.resourcemanager.mediaservices.models.Layer.withWidth(java.lang.String)" fullName: "com.azure.resourcemanager.mediaservices.models.Layer.withWidth(String width)" name: "withWidth(String width)" nameWithType: "Layer.withWidth(String width)" summary: "Set the width property: The width of the output video for this layer." parameters: - description: "the width value to set." name: "width" type: "String" syntax: "public Layer withWidth(String width)" desc: "Set the width property: The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in width as the input." returns: description: "the Layer object itself." type: "" type: "class" desc: "The encoder can be configured to produce video and/or images (thumbnails) at different resolutions, by specifying a layer for each desired resolution. A layer represents the properties for the video or image at a resolution." metadata: {} package: "com.azure.resourcemanager.mediaservices.models" artifact: com.azure.resourcemanager:azure-resourcemanager-mediaservices:2.3.0