
com.pulumi.azurenative.iotoperations.outputs.InstancePropertiesResponse 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.iotoperations.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class InstancePropertiesResponse {
/**
* @return Detailed description of the Instance.
*
*/
private @Nullable String description;
/**
* @return The status of the last operation.
*
*/
private String provisioningState;
/**
* @return The Azure IoT Operations version.
*
*/
private String version;
private InstancePropertiesResponse() {}
/**
* @return Detailed description of the Instance.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The status of the last operation.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The Azure IoT Operations version.
*
*/
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InstancePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private String provisioningState;
private String version;
public Builder() {}
public Builder(InstancePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.provisioningState = defaults.provisioningState;
this.version = defaults.version;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("InstancePropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("InstancePropertiesResponse", "version");
}
this.version = version;
return this;
}
public InstancePropertiesResponse build() {
final var _resultValue = new InstancePropertiesResponse();
_resultValue.description = description;
_resultValue.provisioningState = provisioningState;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy