com.pulumi.azurenative.videoanalyzer.outputs.SecureIotDeviceRemoteTunnelResponse 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.videoanalyzer.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class SecureIotDeviceRemoteTunnelResponse {
/**
* @return The IoT device id to use when establishing the remote tunnel. This string is case-sensitive.
*
*/
private String deviceId;
/**
* @return Name of the IoT Hub.
*
*/
private String iotHubName;
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.VideoAnalyzer.SecureIotDeviceRemoteTunnel'.
*
*/
private String type;
private SecureIotDeviceRemoteTunnelResponse() {}
/**
* @return The IoT device id to use when establishing the remote tunnel. This string is case-sensitive.
*
*/
public String deviceId() {
return this.deviceId;
}
/**
* @return Name of the IoT Hub.
*
*/
public String iotHubName() {
return this.iotHubName;
}
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.VideoAnalyzer.SecureIotDeviceRemoteTunnel'.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SecureIotDeviceRemoteTunnelResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String deviceId;
private String iotHubName;
private String type;
public Builder() {}
public Builder(SecureIotDeviceRemoteTunnelResponse defaults) {
Objects.requireNonNull(defaults);
this.deviceId = defaults.deviceId;
this.iotHubName = defaults.iotHubName;
this.type = defaults.type;
}
@CustomType.Setter
public Builder deviceId(String deviceId) {
if (deviceId == null) {
throw new MissingRequiredPropertyException("SecureIotDeviceRemoteTunnelResponse", "deviceId");
}
this.deviceId = deviceId;
return this;
}
@CustomType.Setter
public Builder iotHubName(String iotHubName) {
if (iotHubName == null) {
throw new MissingRequiredPropertyException("SecureIotDeviceRemoteTunnelResponse", "iotHubName");
}
this.iotHubName = iotHubName;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("SecureIotDeviceRemoteTunnelResponse", "type");
}
this.type = type;
return this;
}
public SecureIotDeviceRemoteTunnelResponse build() {
final var _resultValue = new SecureIotDeviceRemoteTunnelResponse();
_resultValue.deviceId = deviceId;
_resultValue.iotHubName = iotHubName;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy