com.pulumi.azurenative.media.outputs.LiveEventTrackStatusResponse 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.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LiveEventTrackStatusResponse {
/**
* @return Expected bitrate for this track.
*
*/
private @Nullable Double expectedBitrate;
/**
* @return Average incoming bitrate for last 20 seconds when live event is running.
*
*/
private @Nullable Double incomingBitrate;
/**
* @return Current ingest drift value in seconds for last 1 minute.
*
*/
private @Nullable String ingestDrift;
/**
* @return Total number of timed metadata request received.
*
*/
private @Nullable Double requestReceived;
/**
* @return Total number of successful timed metadata request received.
*
*/
private @Nullable Double requestSucceeded;
/**
* @return Track Id.
*
*/
private @Nullable String trackId;
private LiveEventTrackStatusResponse() {}
/**
* @return Expected bitrate for this track.
*
*/
public Optional expectedBitrate() {
return Optional.ofNullable(this.expectedBitrate);
}
/**
* @return Average incoming bitrate for last 20 seconds when live event is running.
*
*/
public Optional incomingBitrate() {
return Optional.ofNullable(this.incomingBitrate);
}
/**
* @return Current ingest drift value in seconds for last 1 minute.
*
*/
public Optional ingestDrift() {
return Optional.ofNullable(this.ingestDrift);
}
/**
* @return Total number of timed metadata request received.
*
*/
public Optional requestReceived() {
return Optional.ofNullable(this.requestReceived);
}
/**
* @return Total number of successful timed metadata request received.
*
*/
public Optional requestSucceeded() {
return Optional.ofNullable(this.requestSucceeded);
}
/**
* @return Track Id.
*
*/
public Optional trackId() {
return Optional.ofNullable(this.trackId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LiveEventTrackStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Double expectedBitrate;
private @Nullable Double incomingBitrate;
private @Nullable String ingestDrift;
private @Nullable Double requestReceived;
private @Nullable Double requestSucceeded;
private @Nullable String trackId;
public Builder() {}
public Builder(LiveEventTrackStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.expectedBitrate = defaults.expectedBitrate;
this.incomingBitrate = defaults.incomingBitrate;
this.ingestDrift = defaults.ingestDrift;
this.requestReceived = defaults.requestReceived;
this.requestSucceeded = defaults.requestSucceeded;
this.trackId = defaults.trackId;
}
@CustomType.Setter
public Builder expectedBitrate(@Nullable Double expectedBitrate) {
this.expectedBitrate = expectedBitrate;
return this;
}
@CustomType.Setter
public Builder incomingBitrate(@Nullable Double incomingBitrate) {
this.incomingBitrate = incomingBitrate;
return this;
}
@CustomType.Setter
public Builder ingestDrift(@Nullable String ingestDrift) {
this.ingestDrift = ingestDrift;
return this;
}
@CustomType.Setter
public Builder requestReceived(@Nullable Double requestReceived) {
this.requestReceived = requestReceived;
return this;
}
@CustomType.Setter
public Builder requestSucceeded(@Nullable Double requestSucceeded) {
this.requestSucceeded = requestSucceeded;
return this;
}
@CustomType.Setter
public Builder trackId(@Nullable String trackId) {
this.trackId = trackId;
return this;
}
public LiveEventTrackStatusResponse build() {
final var _resultValue = new LiveEventTrackStatusResponse();
_resultValue.expectedBitrate = expectedBitrate;
_resultValue.incomingBitrate = incomingBitrate;
_resultValue.ingestDrift = ingestDrift;
_resultValue.requestReceived = requestReceived;
_resultValue.requestSucceeded = requestSucceeded;
_resultValue.trackId = trackId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy