com.pulumi.azurenative.media.outputs.JpgLayerResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.media.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class JpgLayerResponse {
/**
* @return 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.
*
*/
private @Nullable String height;
/**
* @return The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.
*
*/
private @Nullable String label;
/**
* @return The compression quality of the JPEG output. Range is from 0-100 and the default is 70.
*
*/
private @Nullable Integer quality;
/**
* @return 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.
*
*/
private @Nullable String width;
private JpgLayerResponse() {}
/**
* @return 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.
*
*/
public Optional height() {
return Optional.ofNullable(this.height);
}
/**
* @return The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.
*
*/
public Optional label() {
return Optional.ofNullable(this.label);
}
/**
* @return The compression quality of the JPEG output. Range is from 0-100 and the default is 70.
*
*/
public Optional quality() {
return Optional.ofNullable(this.quality);
}
/**
* @return 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.
*
*/
public Optional width() {
return Optional.ofNullable(this.width);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(JpgLayerResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String height;
private @Nullable String label;
private @Nullable Integer quality;
private @Nullable String width;
public Builder() {}
public Builder(JpgLayerResponse defaults) {
Objects.requireNonNull(defaults);
this.height = defaults.height;
this.label = defaults.label;
this.quality = defaults.quality;
this.width = defaults.width;
}
@CustomType.Setter
public Builder height(@Nullable String height) {
this.height = height;
return this;
}
@CustomType.Setter
public Builder label(@Nullable String label) {
this.label = label;
return this;
}
@CustomType.Setter
public Builder quality(@Nullable Integer quality) {
this.quality = quality;
return this;
}
@CustomType.Setter
public Builder width(@Nullable String width) {
this.width = width;
return this;
}
public JpgLayerResponse build() {
final var _resultValue = new JpgLayerResponse();
_resultValue.height = height;
_resultValue.label = label;
_resultValue.quality = quality;
_resultValue.width = width;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy