com.pulumi.azurenative.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-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.databoxedge.outputs;
import com.pulumi.azurenative.databoxedge.outputs.DataResidencyResponse;
import com.pulumi.azurenative.databoxedge.outputs.EdgeProfileResponse;
import com.pulumi.azurenative.databoxedge.outputs.ResourceIdentityResponse;
import com.pulumi.azurenative.databoxedge.outputs.ResourceMoveDetailsResponse;
import com.pulumi.azurenative.databoxedge.outputs.SkuResponse;
import com.pulumi.azurenative.databoxedge.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetDeviceResult {
/**
* @return Type of compute roles configured.
*
*/
private List configuredRoleTypes;
/**
* @return The Data Box Edge/Gateway device culture.
*
*/
private String culture;
/**
* @return The status of the Data Box Edge/Gateway device.
*
*/
private String dataBoxEdgeDeviceStatus;
/**
* @return The details of data-residency related properties for this resource
*
*/
private @Nullable DataResidencyResponse dataResidency;
/**
* @return The Description of the Data Box Edge/Gateway device.
*
*/
private String description;
/**
* @return The device software version number of the device (eg: 1.2.18105.6).
*
*/
private String deviceHcsVersion;
/**
* @return The Data Box Edge/Gateway device local capacity in MB.
*
*/
private Double deviceLocalCapacity;
/**
* @return The Data Box Edge/Gateway device model.
*
*/
private String deviceModel;
/**
* @return The Data Box Edge/Gateway device software version.
*
*/
private String deviceSoftwareVersion;
/**
* @return The type of the Data Box Edge/Gateway device.
*
*/
private String deviceType;
/**
* @return The details of Edge Profile for this resource
*
*/
private EdgeProfileResponse edgeProfile;
/**
* @return The etag for the devices.
*
*/
private @Nullable String etag;
/**
* @return The Data Box Edge/Gateway device name.
*
*/
private String friendlyName;
/**
* @return The path ID that uniquely identifies the object.
*
*/
private String id;
/**
* @return Msi identity of the resource
*
*/
private @Nullable ResourceIdentityResponse identity;
/**
* @return The kind of the device.
*
*/
private String kind;
/**
* @return The location of the device. This is a supported and registered Azure geographical region (for example, West US, East US, or Southeast Asia). The geographical region of a device cannot be changed once it is created, but if an identical geographical region is specified on update, the request will succeed.
*
*/
private String location;
/**
* @return The description of the Data Box Edge/Gateway device model.
*
*/
private String modelDescription;
/**
* @return The object name.
*
*/
private String name;
/**
* @return The number of nodes in the cluster.
*
*/
private Integer nodeCount;
/**
* @return The details of the move operation on this resource.
*
*/
private ResourceMoveDetailsResponse resourceMoveDetails;
/**
* @return The Serial Number of Data Box Edge/Gateway device.
*
*/
private String serialNumber;
/**
* @return The SKU type.
*
*/
private @Nullable SkuResponse sku;
/**
* @return DataBoxEdge Resource
*
*/
private SystemDataResponse systemData;
/**
* @return The list of tags that describe the device. These tags can be used to view and group this device (across resource groups).
*
*/
private @Nullable Map tags;
/**
* @return The Data Box Edge/Gateway device timezone.
*
*/
private String timeZone;
/**
* @return The hierarchical type of the object.
*
*/
private String type;
private GetDeviceResult() {}
/**
* @return Type of compute roles configured.
*
*/
public List configuredRoleTypes() {
return this.configuredRoleTypes;
}
/**
* @return The Data Box Edge/Gateway device culture.
*
*/
public String culture() {
return this.culture;
}
/**
* @return The status of the Data Box Edge/Gateway device.
*
*/
public String dataBoxEdgeDeviceStatus() {
return this.dataBoxEdgeDeviceStatus;
}
/**
* @return The details of data-residency related properties for this resource
*
*/
public Optional dataResidency() {
return Optional.ofNullable(this.dataResidency);
}
/**
* @return The Description of the Data Box Edge/Gateway device.
*
*/
public String description() {
return this.description;
}
/**
* @return The device software version number of the device (eg: 1.2.18105.6).
*
*/
public String deviceHcsVersion() {
return this.deviceHcsVersion;
}
/**
* @return The Data Box Edge/Gateway device local capacity in MB.
*
*/
public Double deviceLocalCapacity() {
return this.deviceLocalCapacity;
}
/**
* @return The Data Box Edge/Gateway device model.
*
*/
public String deviceModel() {
return this.deviceModel;
}
/**
* @return The Data Box Edge/Gateway device software version.
*
*/
public String deviceSoftwareVersion() {
return this.deviceSoftwareVersion;
}
/**
* @return The type of the Data Box Edge/Gateway device.
*
*/
public String deviceType() {
return this.deviceType;
}
/**
* @return The details of Edge Profile for this resource
*
*/
public EdgeProfileResponse edgeProfile() {
return this.edgeProfile;
}
/**
* @return The etag for the devices.
*
*/
public Optional etag() {
return Optional.ofNullable(this.etag);
}
/**
* @return The Data Box Edge/Gateway device name.
*
*/
public String friendlyName() {
return this.friendlyName;
}
/**
* @return The path ID that uniquely identifies the object.
*
*/
public String id() {
return this.id;
}
/**
* @return Msi identity of the resource
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The kind of the device.
*
*/
public String kind() {
return this.kind;
}
/**
* @return The location of the device. This is a supported and registered Azure geographical region (for example, West US, East US, or Southeast Asia). The geographical region of a device cannot be changed once it is created, but if an identical geographical region is specified on update, the request will succeed.
*
*/
public String location() {
return this.location;
}
/**
* @return The description of the Data Box Edge/Gateway device model.
*
*/
public String modelDescription() {
return this.modelDescription;
}
/**
* @return The object name.
*
*/
public String name() {
return this.name;
}
/**
* @return The number of nodes in the cluster.
*
*/
public Integer nodeCount() {
return this.nodeCount;
}
/**
* @return The details of the move operation on this resource.
*
*/
public ResourceMoveDetailsResponse resourceMoveDetails() {
return this.resourceMoveDetails;
}
/**
* @return The Serial Number of Data Box Edge/Gateway device.
*
*/
public String serialNumber() {
return this.serialNumber;
}
/**
* @return The SKU type.
*
*/
public Optional sku() {
return Optional.ofNullable(this.sku);
}
/**
* @return DataBoxEdge Resource
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The list of tags that describe the device. These tags can be used to view and group this device (across resource groups).
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The Data Box Edge/Gateway device timezone.
*
*/
public String timeZone() {
return this.timeZone;
}
/**
* @return The hierarchical type of the object.
*
*/
public String type() {
return this.type;
}
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 configuredRoleTypes;
private String culture;
private String dataBoxEdgeDeviceStatus;
private @Nullable DataResidencyResponse dataResidency;
private String description;
private String deviceHcsVersion;
private Double deviceLocalCapacity;
private String deviceModel;
private String deviceSoftwareVersion;
private String deviceType;
private EdgeProfileResponse edgeProfile;
private @Nullable String etag;
private String friendlyName;
private String id;
private @Nullable ResourceIdentityResponse identity;
private String kind;
private String location;
private String modelDescription;
private String name;
private Integer nodeCount;
private ResourceMoveDetailsResponse resourceMoveDetails;
private String serialNumber;
private @Nullable SkuResponse sku;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String timeZone;
private String type;
public Builder() {}
public Builder(GetDeviceResult defaults) {
Objects.requireNonNull(defaults);
this.configuredRoleTypes = defaults.configuredRoleTypes;
this.culture = defaults.culture;
this.dataBoxEdgeDeviceStatus = defaults.dataBoxEdgeDeviceStatus;
this.dataResidency = defaults.dataResidency;
this.description = defaults.description;
this.deviceHcsVersion = defaults.deviceHcsVersion;
this.deviceLocalCapacity = defaults.deviceLocalCapacity;
this.deviceModel = defaults.deviceModel;
this.deviceSoftwareVersion = defaults.deviceSoftwareVersion;
this.deviceType = defaults.deviceType;
this.edgeProfile = defaults.edgeProfile;
this.etag = defaults.etag;
this.friendlyName = defaults.friendlyName;
this.id = defaults.id;
this.identity = defaults.identity;
this.kind = defaults.kind;
this.location = defaults.location;
this.modelDescription = defaults.modelDescription;
this.name = defaults.name;
this.nodeCount = defaults.nodeCount;
this.resourceMoveDetails = defaults.resourceMoveDetails;
this.serialNumber = defaults.serialNumber;
this.sku = defaults.sku;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.timeZone = defaults.timeZone;
this.type = defaults.type;
}
@CustomType.Setter
public Builder configuredRoleTypes(List configuredRoleTypes) {
if (configuredRoleTypes == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "configuredRoleTypes");
}
this.configuredRoleTypes = configuredRoleTypes;
return this;
}
public Builder configuredRoleTypes(String... configuredRoleTypes) {
return configuredRoleTypes(List.of(configuredRoleTypes));
}
@CustomType.Setter
public Builder culture(String culture) {
if (culture == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "culture");
}
this.culture = culture;
return this;
}
@CustomType.Setter
public Builder dataBoxEdgeDeviceStatus(String dataBoxEdgeDeviceStatus) {
if (dataBoxEdgeDeviceStatus == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "dataBoxEdgeDeviceStatus");
}
this.dataBoxEdgeDeviceStatus = dataBoxEdgeDeviceStatus;
return this;
}
@CustomType.Setter
public Builder dataResidency(@Nullable DataResidencyResponse dataResidency) {
this.dataResidency = dataResidency;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder deviceHcsVersion(String deviceHcsVersion) {
if (deviceHcsVersion == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "deviceHcsVersion");
}
this.deviceHcsVersion = deviceHcsVersion;
return this;
}
@CustomType.Setter
public Builder deviceLocalCapacity(Double deviceLocalCapacity) {
if (deviceLocalCapacity == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "deviceLocalCapacity");
}
this.deviceLocalCapacity = deviceLocalCapacity;
return this;
}
@CustomType.Setter
public Builder deviceModel(String deviceModel) {
if (deviceModel == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "deviceModel");
}
this.deviceModel = deviceModel;
return this;
}
@CustomType.Setter
public Builder deviceSoftwareVersion(String deviceSoftwareVersion) {
if (deviceSoftwareVersion == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "deviceSoftwareVersion");
}
this.deviceSoftwareVersion = deviceSoftwareVersion;
return this;
}
@CustomType.Setter
public Builder deviceType(String deviceType) {
if (deviceType == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "deviceType");
}
this.deviceType = deviceType;
return this;
}
@CustomType.Setter
public Builder edgeProfile(EdgeProfileResponse edgeProfile) {
if (edgeProfile == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "edgeProfile");
}
this.edgeProfile = edgeProfile;
return this;
}
@CustomType.Setter
public Builder etag(@Nullable String etag) {
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder friendlyName(String friendlyName) {
if (friendlyName == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "friendlyName");
}
this.friendlyName = friendlyName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable ResourceIdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder kind(String kind) {
if (kind == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "kind");
}
this.kind = kind;
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 modelDescription(String modelDescription) {
if (modelDescription == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "modelDescription");
}
this.modelDescription = modelDescription;
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 nodeCount(Integer nodeCount) {
if (nodeCount == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "nodeCount");
}
this.nodeCount = nodeCount;
return this;
}
@CustomType.Setter
public Builder resourceMoveDetails(ResourceMoveDetailsResponse resourceMoveDetails) {
if (resourceMoveDetails == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "resourceMoveDetails");
}
this.resourceMoveDetails = resourceMoveDetails;
return this;
}
@CustomType.Setter
public Builder serialNumber(String serialNumber) {
if (serialNumber == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "serialNumber");
}
this.serialNumber = serialNumber;
return this;
}
@CustomType.Setter
public Builder sku(@Nullable SkuResponse sku) {
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder timeZone(String timeZone) {
if (timeZone == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "timeZone");
}
this.timeZone = timeZone;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetDeviceResult", "type");
}
this.type = type;
return this;
}
public GetDeviceResult build() {
final var _resultValue = new GetDeviceResult();
_resultValue.configuredRoleTypes = configuredRoleTypes;
_resultValue.culture = culture;
_resultValue.dataBoxEdgeDeviceStatus = dataBoxEdgeDeviceStatus;
_resultValue.dataResidency = dataResidency;
_resultValue.description = description;
_resultValue.deviceHcsVersion = deviceHcsVersion;
_resultValue.deviceLocalCapacity = deviceLocalCapacity;
_resultValue.deviceModel = deviceModel;
_resultValue.deviceSoftwareVersion = deviceSoftwareVersion;
_resultValue.deviceType = deviceType;
_resultValue.edgeProfile = edgeProfile;
_resultValue.etag = etag;
_resultValue.friendlyName = friendlyName;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.kind = kind;
_resultValue.location = location;
_resultValue.modelDescription = modelDescription;
_resultValue.name = name;
_resultValue.nodeCount = nodeCount;
_resultValue.resourceMoveDetails = resourceMoveDetails;
_resultValue.serialNumber = serialNumber;
_resultValue.sku = sku;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.timeZone = timeZone;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy