com.pulumi.azurenative.videoanalyzer.inputs.SecureIotDeviceRemoteTunnelArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* A remote tunnel securely established using IoT Hub device information.
*
*/
public final class SecureIotDeviceRemoteTunnelArgs extends com.pulumi.resources.ResourceArgs {
public static final SecureIotDeviceRemoteTunnelArgs Empty = new SecureIotDeviceRemoteTunnelArgs();
/**
* The IoT device id to use when establishing the remote tunnel. This string is case-sensitive.
*
*/
@Import(name="deviceId", required=true)
private Output deviceId;
/**
* @return The IoT device id to use when establishing the remote tunnel. This string is case-sensitive.
*
*/
public Output deviceId() {
return this.deviceId;
}
/**
* Name of the IoT Hub.
*
*/
@Import(name="iotHubName", required=true)
private Output iotHubName;
/**
* @return Name of the IoT Hub.
*
*/
public Output iotHubName() {
return this.iotHubName;
}
/**
* The discriminator for derived types.
* Expected value is '#Microsoft.VideoAnalyzer.SecureIotDeviceRemoteTunnel'.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.VideoAnalyzer.SecureIotDeviceRemoteTunnel'.
*
*/
public Output type() {
return this.type;
}
private SecureIotDeviceRemoteTunnelArgs() {}
private SecureIotDeviceRemoteTunnelArgs(SecureIotDeviceRemoteTunnelArgs $) {
this.deviceId = $.deviceId;
this.iotHubName = $.iotHubName;
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SecureIotDeviceRemoteTunnelArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private SecureIotDeviceRemoteTunnelArgs $;
public Builder() {
$ = new SecureIotDeviceRemoteTunnelArgs();
}
public Builder(SecureIotDeviceRemoteTunnelArgs defaults) {
$ = new SecureIotDeviceRemoteTunnelArgs(Objects.requireNonNull(defaults));
}
/**
* @param deviceId The IoT device id to use when establishing the remote tunnel. This string is case-sensitive.
*
* @return builder
*
*/
public Builder deviceId(Output deviceId) {
$.deviceId = deviceId;
return this;
}
/**
* @param deviceId The IoT device id to use when establishing the remote tunnel. This string is case-sensitive.
*
* @return builder
*
*/
public Builder deviceId(String deviceId) {
return deviceId(Output.of(deviceId));
}
/**
* @param iotHubName Name of the IoT Hub.
*
* @return builder
*
*/
public Builder iotHubName(Output iotHubName) {
$.iotHubName = iotHubName;
return this;
}
/**
* @param iotHubName Name of the IoT Hub.
*
* @return builder
*
*/
public Builder iotHubName(String iotHubName) {
return iotHubName(Output.of(iotHubName));
}
/**
* @param type The discriminator for derived types.
* Expected value is '#Microsoft.VideoAnalyzer.SecureIotDeviceRemoteTunnel'.
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type The discriminator for derived types.
* Expected value is '#Microsoft.VideoAnalyzer.SecureIotDeviceRemoteTunnel'.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public SecureIotDeviceRemoteTunnelArgs build() {
if ($.deviceId == null) {
throw new MissingRequiredPropertyException("SecureIotDeviceRemoteTunnelArgs", "deviceId");
}
if ($.iotHubName == null) {
throw new MissingRequiredPropertyException("SecureIotDeviceRemoteTunnelArgs", "iotHubName");
}
$.type = Codegen.stringProp("type").output().arg($.type).require();
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy