
com.pulumi.azurenative.media.outputs.CopyAudioResponse Maven / Gradle / Ivy
// *** 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 CopyAudioResponse {
/**
* @return An optional label for the codec. The label can be used to control muxing behavior.
*
*/
private @Nullable String label;
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.Media.CopyAudio'.
*
*/
private String odataType;
private CopyAudioResponse() {}
/**
* @return An optional label for the codec. The label can be used to control muxing behavior.
*
*/
public Optional label() {
return Optional.ofNullable(this.label);
}
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.Media.CopyAudio'.
*
*/
public String odataType() {
return this.odataType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CopyAudioResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String label;
private String odataType;
public Builder() {}
public Builder(CopyAudioResponse defaults) {
Objects.requireNonNull(defaults);
this.label = defaults.label;
this.odataType = defaults.odataType;
}
@CustomType.Setter
public Builder label(@Nullable String label) {
this.label = label;
return this;
}
@CustomType.Setter
public Builder odataType(String odataType) {
if (odataType == null) {
throw new MissingRequiredPropertyException("CopyAudioResponse", "odataType");
}
this.odataType = odataType;
return this;
}
public CopyAudioResponse build() {
final var _resultValue = new CopyAudioResponse();
_resultValue.label = label;
_resultValue.odataType = odataType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy