com.pulumi.azurenative.media.outputs.SelectAudioTrackByAttributeResponse 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SelectAudioTrackByAttributeResponse {
/**
* @return The TrackAttribute to filter the tracks by.
*
*/
private String attribute;
/**
* @return Optional designation for single channel audio tracks. Can be used to combine the tracks into stereo or multi-channel audio tracks.
*
*/
private @Nullable String channelMapping;
/**
* @return The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks.
*
*/
private String filter;
/**
* @return The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified for the Filter property.
*
*/
private @Nullable String filterValue;
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.Media.SelectAudioTrackByAttribute'.
*
*/
private String odataType;
private SelectAudioTrackByAttributeResponse() {}
/**
* @return The TrackAttribute to filter the tracks by.
*
*/
public String attribute() {
return this.attribute;
}
/**
* @return Optional designation for single channel audio tracks. Can be used to combine the tracks into stereo or multi-channel audio tracks.
*
*/
public Optional channelMapping() {
return Optional.ofNullable(this.channelMapping);
}
/**
* @return The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks.
*
*/
public String filter() {
return this.filter;
}
/**
* @return The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified for the Filter property.
*
*/
public Optional filterValue() {
return Optional.ofNullable(this.filterValue);
}
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.Media.SelectAudioTrackByAttribute'.
*
*/
public String odataType() {
return this.odataType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SelectAudioTrackByAttributeResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String attribute;
private @Nullable String channelMapping;
private String filter;
private @Nullable String filterValue;
private String odataType;
public Builder() {}
public Builder(SelectAudioTrackByAttributeResponse defaults) {
Objects.requireNonNull(defaults);
this.attribute = defaults.attribute;
this.channelMapping = defaults.channelMapping;
this.filter = defaults.filter;
this.filterValue = defaults.filterValue;
this.odataType = defaults.odataType;
}
@CustomType.Setter
public Builder attribute(String attribute) {
if (attribute == null) {
throw new MissingRequiredPropertyException("SelectAudioTrackByAttributeResponse", "attribute");
}
this.attribute = attribute;
return this;
}
@CustomType.Setter
public Builder channelMapping(@Nullable String channelMapping) {
this.channelMapping = channelMapping;
return this;
}
@CustomType.Setter
public Builder filter(String filter) {
if (filter == null) {
throw new MissingRequiredPropertyException("SelectAudioTrackByAttributeResponse", "filter");
}
this.filter = filter;
return this;
}
@CustomType.Setter
public Builder filterValue(@Nullable String filterValue) {
this.filterValue = filterValue;
return this;
}
@CustomType.Setter
public Builder odataType(String odataType) {
if (odataType == null) {
throw new MissingRequiredPropertyException("SelectAudioTrackByAttributeResponse", "odataType");
}
this.odataType = odataType;
return this;
}
public SelectAudioTrackByAttributeResponse build() {
final var _resultValue = new SelectAudioTrackByAttributeResponse();
_resultValue.attribute = attribute;
_resultValue.channelMapping = channelMapping;
_resultValue.filter = filter;
_resultValue.filterValue = filterValue;
_resultValue.odataType = odataType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy