com.pulumi.azurenative.videoanalyzer.outputs.VideoFlagsResponse 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.
The newest version!
// *** 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.videoanalyzer.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;
@CustomType
public final class VideoFlagsResponse {
/**
* @return Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
*
*/
private Boolean canStream;
/**
* @return Value indicating whether or not there has ever been data recorded or uploaded into the video. Newly created videos have this value set to false.
*
*/
private Boolean hasData;
/**
* @return Value indicating whether or not the video is currently being referenced be an active pipeline. The fact that is being referenced, doesn't necessarily indicate that data is being received. For example, video recording may be gated on events or camera may not be accessible at the time.
*
*/
private Boolean isInUse;
private VideoFlagsResponse() {}
/**
* @return Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
*
*/
public Boolean canStream() {
return this.canStream;
}
/**
* @return Value indicating whether or not there has ever been data recorded or uploaded into the video. Newly created videos have this value set to false.
*
*/
public Boolean hasData() {
return this.hasData;
}
/**
* @return Value indicating whether or not the video is currently being referenced be an active pipeline. The fact that is being referenced, doesn't necessarily indicate that data is being received. For example, video recording may be gated on events or camera may not be accessible at the time.
*
*/
public Boolean isInUse() {
return this.isInUse;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VideoFlagsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean canStream;
private Boolean hasData;
private Boolean isInUse;
public Builder() {}
public Builder(VideoFlagsResponse defaults) {
Objects.requireNonNull(defaults);
this.canStream = defaults.canStream;
this.hasData = defaults.hasData;
this.isInUse = defaults.isInUse;
}
@CustomType.Setter
public Builder canStream(Boolean canStream) {
if (canStream == null) {
throw new MissingRequiredPropertyException("VideoFlagsResponse", "canStream");
}
this.canStream = canStream;
return this;
}
@CustomType.Setter
public Builder hasData(Boolean hasData) {
if (hasData == null) {
throw new MissingRequiredPropertyException("VideoFlagsResponse", "hasData");
}
this.hasData = hasData;
return this;
}
@CustomType.Setter
public Builder isInUse(Boolean isInUse) {
if (isInUse == null) {
throw new MissingRequiredPropertyException("VideoFlagsResponse", "isInUse");
}
this.isInUse = isInUse;
return this;
}
public VideoFlagsResponse build() {
final var _resultValue = new VideoFlagsResponse();
_resultValue.canStream = canStream;
_resultValue.hasData = hasData;
_resultValue.isInUse = isInUse;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy