
com.pulumi.azurenative.videoanalyzer.outputs.IotHubResponse 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.azurenative.videoanalyzer.outputs.ResourceIdentityResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class IotHubResponse {
/**
* @return The IoT Hub resource identifier.
*
*/
private String id;
/**
* @return The IoT Hub identity.
*
*/
private ResourceIdentityResponse identity;
/**
* @return The current status of the Iot Hub mapping.
*
*/
private String status;
private IotHubResponse() {}
/**
* @return The IoT Hub resource identifier.
*
*/
public String id() {
return this.id;
}
/**
* @return The IoT Hub identity.
*
*/
public ResourceIdentityResponse identity() {
return this.identity;
}
/**
* @return The current status of the Iot Hub mapping.
*
*/
public String status() {
return this.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IotHubResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private ResourceIdentityResponse identity;
private String status;
public Builder() {}
public Builder(IotHubResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.identity = defaults.identity;
this.status = defaults.status;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("IotHubResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(ResourceIdentityResponse identity) {
if (identity == null) {
throw new MissingRequiredPropertyException("IotHubResponse", "identity");
}
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("IotHubResponse", "status");
}
this.status = status;
return this;
}
public IotHubResponse build() {
final var _resultValue = new IotHubResponse();
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy