com.pulumi.azure.databoxedge.outputs.GetDeviceResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.databoxedge.outputs;
import com.pulumi.azure.databoxedge.outputs.GetDeviceDeviceProperty;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetDeviceResult {
/**
* @return A `device_properties` block as defined below.
*
*/
private List deviceProperties;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return The Azure Region where the Databox Edge Device should exist.
*
*/
private String location;
private String name;
private String resourceGroupName;
/**
* @return The `sku_name` is comprised of two segments separated by a hyphen (e.g. `TEA_1Node_UPS_Heater-Standard`). The first segment of the `sku_name` defines the `name` of the SKU. The second segment defines the `tier` of the `sku_name`. For more information see the product documentation.
*
*/
private String skuName;
/**
* @return A mapping of tags which should be assigned to the Databox Edge Device.
*
*/
private Map tags;
private GetDeviceResult() {}
/**
* @return A `device_properties` block as defined below.
*
*/
public List deviceProperties() {
return this.deviceProperties;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return The Azure Region where the Databox Edge Device should exist.
*
*/
public String location() {
return this.location;
}
public String name() {
return this.name;
}
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* @return The `sku_name` is comprised of two segments separated by a hyphen (e.g. `TEA_1Node_UPS_Heater-Standard`). The first segment of the `sku_name` defines the `name` of the SKU. The second segment defines the `tier` of the `sku_name`. For more information see the product documentation.
*
*/
public String skuName() {
return this.skuName;
}
/**
* @return A mapping of tags which should be assigned to the Databox Edge Device.
*
*/
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDeviceResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List deviceProperties;
private String id;
private String location;
private String name;
private String resourceGroupName;
private String skuName;
private Map tags;
public Builder() {}
public Builder(GetDeviceResult defaults) {
Objects.requireNonNull(defaults);
this.deviceProperties = defaults.deviceProperties;
this.id = defaults.id;
this.location = defaults.location;
this.name = defaults.name;
this.resourceGroupName = defaults.resourceGroupName;
this.skuName = defaults.skuName;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder deviceProperties(List deviceProperties) {
if (deviceProperties == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "deviceProperties");
}
this.deviceProperties = deviceProperties;
return this;
}
public Builder deviceProperties(GetDeviceDeviceProperty... deviceProperties) {
return deviceProperties(List.of(deviceProperties));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder resourceGroupName(String resourceGroupName) {
if (resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "resourceGroupName");
}
this.resourceGroupName = resourceGroupName;
return this;
}
@CustomType.Setter
public Builder skuName(String skuName) {
if (skuName == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "skuName");
}
this.skuName = skuName;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "tags");
}
this.tags = tags;
return this;
}
public GetDeviceResult build() {
final var _resultValue = new GetDeviceResult();
_resultValue.deviceProperties = deviceProperties;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.resourceGroupName = resourceGroupName;
_resultValue.skuName = skuName;
_resultValue.tags = tags;
return _resultValue;
}
}
}