com.pulumi.azurenative.media.outputs.AudioTrackDescriptorResponse 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 AudioTrackDescriptorResponse {
/**
* @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 discriminator for derived types.
* Expected value is '#Microsoft.Media.AudioTrackDescriptor'.
*
*/
private String odataType;
private AudioTrackDescriptorResponse() {}
/**
* @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 discriminator for derived types.
* Expected value is '#Microsoft.Media.AudioTrackDescriptor'.
*
*/
public String odataType() {
return this.odataType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AudioTrackDescriptorResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String channelMapping;
private String odataType;
public Builder() {}
public Builder(AudioTrackDescriptorResponse defaults) {
Objects.requireNonNull(defaults);
this.channelMapping = defaults.channelMapping;
this.odataType = defaults.odataType;
}
@CustomType.Setter
public Builder channelMapping(@Nullable String channelMapping) {
this.channelMapping = channelMapping;
return this;
}
@CustomType.Setter
public Builder odataType(String odataType) {
if (odataType == null) {
throw new MissingRequiredPropertyException("AudioTrackDescriptorResponse", "odataType");
}
this.odataType = odataType;
return this;
}
public AudioTrackDescriptorResponse build() {
final var _resultValue = new AudioTrackDescriptorResponse();
_resultValue.channelMapping = channelMapping;
_resultValue.odataType = odataType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy