
com.pulumi.azurenative.media.outputs.StreamingPathResponse 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.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class StreamingPathResponse {
/**
* @return Encryption scheme
*
*/
private String encryptionScheme;
/**
* @return Streaming paths for each protocol and encryptionScheme pair
*
*/
private @Nullable List paths;
/**
* @return Streaming protocol
*
*/
private String streamingProtocol;
private StreamingPathResponse() {}
/**
* @return Encryption scheme
*
*/
public String encryptionScheme() {
return this.encryptionScheme;
}
/**
* @return Streaming paths for each protocol and encryptionScheme pair
*
*/
public List paths() {
return this.paths == null ? List.of() : this.paths;
}
/**
* @return Streaming protocol
*
*/
public String streamingProtocol() {
return this.streamingProtocol;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StreamingPathResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String encryptionScheme;
private @Nullable List paths;
private String streamingProtocol;
public Builder() {}
public Builder(StreamingPathResponse defaults) {
Objects.requireNonNull(defaults);
this.encryptionScheme = defaults.encryptionScheme;
this.paths = defaults.paths;
this.streamingProtocol = defaults.streamingProtocol;
}
@CustomType.Setter
public Builder encryptionScheme(String encryptionScheme) {
if (encryptionScheme == null) {
throw new MissingRequiredPropertyException("StreamingPathResponse", "encryptionScheme");
}
this.encryptionScheme = encryptionScheme;
return this;
}
@CustomType.Setter
public Builder paths(@Nullable List paths) {
this.paths = paths;
return this;
}
public Builder paths(String... paths) {
return paths(List.of(paths));
}
@CustomType.Setter
public Builder streamingProtocol(String streamingProtocol) {
if (streamingProtocol == null) {
throw new MissingRequiredPropertyException("StreamingPathResponse", "streamingProtocol");
}
this.streamingProtocol = streamingProtocol;
return this;
}
public StreamingPathResponse build() {
final var _resultValue = new StreamingPathResponse();
_resultValue.encryptionScheme = encryptionScheme;
_resultValue.paths = paths;
_resultValue.streamingProtocol = streamingProtocol;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy