
com.pulumi.azurenative.media.outputs.LiveEventStatusResponse 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.azurenative.media.outputs.LiveEventIngestionResponse;
import com.pulumi.azurenative.media.outputs.LiveEventTrackStatusResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LiveEventStatusResponse {
/**
* @return List of strings justifying the health status.
*
*/
private @Nullable List healthDescriptions;
/**
* @return Health status of last 20 seconds.
*
*/
private @Nullable String healthStatus;
/**
* @return Live event ingestion entry.
*
*/
private @Nullable LiveEventIngestionResponse ingestion;
/**
* @return Last updated UTC time of this status.
*
*/
private @Nullable String lastUpdatedTime;
/**
* @return Current state of the live event. See https://go.microsoft.com/fwlink/?linkid=2139012 for more information.
*
*/
private @Nullable String state;
/**
* @return Track entry list.
*
*/
private @Nullable List trackStatus;
private LiveEventStatusResponse() {}
/**
* @return List of strings justifying the health status.
*
*/
public List healthDescriptions() {
return this.healthDescriptions == null ? List.of() : this.healthDescriptions;
}
/**
* @return Health status of last 20 seconds.
*
*/
public Optional healthStatus() {
return Optional.ofNullable(this.healthStatus);
}
/**
* @return Live event ingestion entry.
*
*/
public Optional ingestion() {
return Optional.ofNullable(this.ingestion);
}
/**
* @return Last updated UTC time of this status.
*
*/
public Optional lastUpdatedTime() {
return Optional.ofNullable(this.lastUpdatedTime);
}
/**
* @return Current state of the live event. See https://go.microsoft.com/fwlink/?linkid=2139012 for more information.
*
*/
public Optional state() {
return Optional.ofNullable(this.state);
}
/**
* @return Track entry list.
*
*/
public List trackStatus() {
return this.trackStatus == null ? List.of() : this.trackStatus;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LiveEventStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List healthDescriptions;
private @Nullable String healthStatus;
private @Nullable LiveEventIngestionResponse ingestion;
private @Nullable String lastUpdatedTime;
private @Nullable String state;
private @Nullable List trackStatus;
public Builder() {}
public Builder(LiveEventStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.healthDescriptions = defaults.healthDescriptions;
this.healthStatus = defaults.healthStatus;
this.ingestion = defaults.ingestion;
this.lastUpdatedTime = defaults.lastUpdatedTime;
this.state = defaults.state;
this.trackStatus = defaults.trackStatus;
}
@CustomType.Setter
public Builder healthDescriptions(@Nullable List healthDescriptions) {
this.healthDescriptions = healthDescriptions;
return this;
}
public Builder healthDescriptions(String... healthDescriptions) {
return healthDescriptions(List.of(healthDescriptions));
}
@CustomType.Setter
public Builder healthStatus(@Nullable String healthStatus) {
this.healthStatus = healthStatus;
return this;
}
@CustomType.Setter
public Builder ingestion(@Nullable LiveEventIngestionResponse ingestion) {
this.ingestion = ingestion;
return this;
}
@CustomType.Setter
public Builder lastUpdatedTime(@Nullable String lastUpdatedTime) {
this.lastUpdatedTime = lastUpdatedTime;
return this;
}
@CustomType.Setter
public Builder state(@Nullable String state) {
this.state = state;
return this;
}
@CustomType.Setter
public Builder trackStatus(@Nullable List trackStatus) {
this.trackStatus = trackStatus;
return this;
}
public Builder trackStatus(LiveEventTrackStatusResponse... trackStatus) {
return trackStatus(List.of(trackStatus));
}
public LiveEventStatusResponse build() {
final var _resultValue = new LiveEventStatusResponse();
_resultValue.healthDescriptions = healthDescriptions;
_resultValue.healthStatus = healthStatus;
_resultValue.ingestion = ingestion;
_resultValue.lastUpdatedTime = lastUpdatedTime;
_resultValue.state = state;
_resultValue.trackStatus = trackStatus;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy