com.pulumi.azurenative.videoanalyzer.inputs.IotHubArgs 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.azurenative.videoanalyzer.inputs.ResourceIdentityArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* The IoT Hub details.
*
*/
public final class IotHubArgs extends com.pulumi.resources.ResourceArgs {
public static final IotHubArgs Empty = new IotHubArgs();
/**
* The IoT Hub resource identifier.
*
*/
@Import(name="id", required=true)
private Output id;
/**
* @return The IoT Hub resource identifier.
*
*/
public Output id() {
return this.id;
}
/**
* The IoT Hub identity.
*
*/
@Import(name="identity", required=true)
private Output identity;
/**
* @return The IoT Hub identity.
*
*/
public Output identity() {
return this.identity;
}
private IotHubArgs() {}
private IotHubArgs(IotHubArgs $) {
this.id = $.id;
this.identity = $.identity;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IotHubArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private IotHubArgs $;
public Builder() {
$ = new IotHubArgs();
}
public Builder(IotHubArgs defaults) {
$ = new IotHubArgs(Objects.requireNonNull(defaults));
}
/**
* @param id The IoT Hub resource identifier.
*
* @return builder
*
*/
public Builder id(Output id) {
$.id = id;
return this;
}
/**
* @param id The IoT Hub resource identifier.
*
* @return builder
*
*/
public Builder id(String id) {
return id(Output.of(id));
}
/**
* @param identity The IoT Hub identity.
*
* @return builder
*
*/
public Builder identity(Output identity) {
$.identity = identity;
return this;
}
/**
* @param identity The IoT Hub identity.
*
* @return builder
*
*/
public Builder identity(ResourceIdentityArgs identity) {
return identity(Output.of(identity));
}
public IotHubArgs build() {
if ($.id == null) {
throw new MissingRequiredPropertyException("IotHubArgs", "id");
}
if ($.identity == null) {
throw new MissingRequiredPropertyException("IotHubArgs", "identity");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy