// *** 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.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DeviceDeviceProperty {
    /**
     * @return The Data Box Edge/Gateway device local capacity in MB.
     * 
     */
    private @Nullable Integer capacity;
    /**
     * @return Type of compute roles configured.
     * 
     */
    private @Nullable List<String> configuredRoleTypes;
    /**
     * @return The Data Box Edge/Gateway device culture.
     * 
     */
    private @Nullable String culture;
    /**
     * @return The device software version number of the device (e.g. 1.2.18105.6).
     * 
     */
    private @Nullable String hcsVersion;
    /**
     * @return The Data Box Edge/Gateway device model.
     * 
     */
    private @Nullable String model;
    /**
     * @return The number of nodes in the cluster.
     * 
     */
    private @Nullable Integer nodeCount;
    /**
     * @return The Serial Number of Data Box Edge/Gateway device.
     * 
     */
    private @Nullable String serialNumber;
    /**
     * @return The Data Box Edge/Gateway device software version.
     * 
     */
    private @Nullable String softwareVersion;
    /**
     * @return The status of the Data Box Edge/Gateway device.
     * 
     */
    private @Nullable String status;
    /**
     * @return The Data Box Edge/Gateway device timezone.
     * 
     */
    private @Nullable String timeZone;
    /**
     * @return The type of the Data Box Edge/Gateway device.
     * 
     */
    private @Nullable String type;

    private DeviceDeviceProperty() {}
    /**
     * @return The Data Box Edge/Gateway device local capacity in MB.
     * 
     */
    public Optional<Integer> capacity() {
        return Optional.ofNullable(this.capacity);
    }
    /**
     * @return Type of compute roles configured.
     * 
     */
    public List<String> configuredRoleTypes() {
        return this.configuredRoleTypes == null ? List.of() : this.configuredRoleTypes;
    }
    /**
     * @return The Data Box Edge/Gateway device culture.
     * 
     */
    public Optional<String> culture() {
        return Optional.ofNullable(this.culture);
    }
    /**
     * @return The device software version number of the device (e.g. 1.2.18105.6).
     * 
     */
    public Optional<String> hcsVersion() {
        return Optional.ofNullable(this.hcsVersion);
    }
    /**
     * @return The Data Box Edge/Gateway device model.
     * 
     */
    public Optional<String> model() {
        return Optional.ofNullable(this.model);
    }
    /**
     * @return The number of nodes in the cluster.
     * 
     */
    public Optional<Integer> nodeCount() {
        return Optional.ofNullable(this.nodeCount);
    }
    /**
     * @return The Serial Number of Data Box Edge/Gateway device.
     * 
     */
    public Optional<String> serialNumber() {
        return Optional.ofNullable(this.serialNumber);
    }
    /**
     * @return The Data Box Edge/Gateway device software version.
     * 
     */
    public Optional<String> softwareVersion() {
        return Optional.ofNullable(this.softwareVersion);
    }
    /**
     * @return The status of the Data Box Edge/Gateway device.
     * 
     */
    public Optional<String> status() {
        return Optional.ofNullable(this.status);
    }
    /**
     * @return The Data Box Edge/Gateway device timezone.
     * 
     */
    public Optional<String> timeZone() {
        return Optional.ofNullable(this.timeZone);
    }
    /**
     * @return The type of the Data Box Edge/Gateway device.
     * 
     */
    public Optional<String> type() {
        return Optional.ofNullable(this.type);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(DeviceDeviceProperty defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer capacity;
        private @Nullable List<String> configuredRoleTypes;
        private @Nullable String culture;
        private @Nullable String hcsVersion;
        private @Nullable String model;
        private @Nullable Integer nodeCount;
        private @Nullable String serialNumber;
        private @Nullable String softwareVersion;
        private @Nullable String status;
        private @Nullable String timeZone;
        private @Nullable String type;
        public Builder() {}
        public Builder(DeviceDeviceProperty defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.capacity = defaults.capacity;
    	      this.configuredRoleTypes = defaults.configuredRoleTypes;
    	      this.culture = defaults.culture;
    	      this.hcsVersion = defaults.hcsVersion;
    	      this.model = defaults.model;
    	      this.nodeCount = defaults.nodeCount;
    	      this.serialNumber = defaults.serialNumber;
    	      this.softwareVersion = defaults.softwareVersion;
    	      this.status = defaults.status;
    	      this.timeZone = defaults.timeZone;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder capacity(@Nullable Integer capacity) {
            this.capacity = capacity;
            return this;
        }
        @CustomType.Setter
        public Builder configuredRoleTypes(@Nullable List<String> configuredRoleTypes) {
            this.configuredRoleTypes = configuredRoleTypes;
            return this;
        }
        public Builder configuredRoleTypes(String... configuredRoleTypes) {
            return configuredRoleTypes(List.of(configuredRoleTypes));
        }
        @CustomType.Setter
        public Builder culture(@Nullable String culture) {
            this.culture = culture;
            return this;
        }
        @CustomType.Setter
        public Builder hcsVersion(@Nullable String hcsVersion) {
            this.hcsVersion = hcsVersion;
            return this;
        }
        @CustomType.Setter
        public Builder model(@Nullable String model) {
            this.model = model;
            return this;
        }
        @CustomType.Setter
        public Builder nodeCount(@Nullable Integer nodeCount) {
            this.nodeCount = nodeCount;
            return this;
        }
        @CustomType.Setter
        public Builder serialNumber(@Nullable String serialNumber) {
            this.serialNumber = serialNumber;
            return this;
        }
        @CustomType.Setter
        public Builder softwareVersion(@Nullable String softwareVersion) {
            this.softwareVersion = softwareVersion;
            return this;
        }
        @CustomType.Setter
        public Builder status(@Nullable String status) {
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder timeZone(@Nullable String timeZone) {
            this.timeZone = timeZone;
            return this;
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {
            this.type = type;
            return this;
        }
        public DeviceDeviceProperty build() {
            final var o = new DeviceDeviceProperty();
            o.capacity = capacity;
            o.configuredRoleTypes = configuredRoleTypes;
            o.culture = culture;
            o.hcsVersion = hcsVersion;
            o.model = model;
            o.nodeCount = nodeCount;
            o.serialNumber = serialNumber;
            o.softwareVersion = softwareVersion;
            o.status = status;
            o.timeZone = timeZone;
            o.type = type;
            return o;
        }
    }
}
