All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.azurestackhci.outputs.ClusterNodeResponse Maven / Gradle / Ivy

// *** 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.azurestackhci.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ClusterNodeResponse {
    /**
     * @return Number of physical cores on the cluster node.
     * 
     */
    private Double coreCount;
    /**
     * @return Edge Hardware Center Resource Id
     * 
     */
    private String ehcResourceId;
    /**
     * @return Id of the node in the cluster.
     * 
     */
    private Double id;
    /**
     * @return Most recent licensing timestamp.
     * 
     */
    private String lastLicensingTimestamp;
    /**
     * @return Manufacturer of the cluster node hardware.
     * 
     */
    private String manufacturer;
    /**
     * @return Total available memory on the cluster node (in GiB).
     * 
     */
    private Double memoryInGiB;
    /**
     * @return Model name of the cluster node hardware.
     * 
     */
    private String model;
    /**
     * @return Name of the cluster node.
     * 
     */
    private String name;
    /**
     * @return Type of the cluster node hardware.
     * 
     */
    private String nodeType;
    /**
     * @return Display version of the operating system running on the cluster node.
     * 
     */
    private String osDisplayVersion;
    /**
     * @return Operating system running on the cluster node.
     * 
     */
    private String osName;
    /**
     * @return Version of the operating system running on the cluster node.
     * 
     */
    private String osVersion;
    /**
     * @return Immutable id of the cluster node.
     * 
     */
    private String serialNumber;
    /**
     * @return State of Windows Server Subscription.
     * 
     */
    private String windowsServerSubscription;

    private ClusterNodeResponse() {}
    /**
     * @return Number of physical cores on the cluster node.
     * 
     */
    public Double coreCount() {
        return this.coreCount;
    }
    /**
     * @return Edge Hardware Center Resource Id
     * 
     */
    public String ehcResourceId() {
        return this.ehcResourceId;
    }
    /**
     * @return Id of the node in the cluster.
     * 
     */
    public Double id() {
        return this.id;
    }
    /**
     * @return Most recent licensing timestamp.
     * 
     */
    public String lastLicensingTimestamp() {
        return this.lastLicensingTimestamp;
    }
    /**
     * @return Manufacturer of the cluster node hardware.
     * 
     */
    public String manufacturer() {
        return this.manufacturer;
    }
    /**
     * @return Total available memory on the cluster node (in GiB).
     * 
     */
    public Double memoryInGiB() {
        return this.memoryInGiB;
    }
    /**
     * @return Model name of the cluster node hardware.
     * 
     */
    public String model() {
        return this.model;
    }
    /**
     * @return Name of the cluster node.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Type of the cluster node hardware.
     * 
     */
    public String nodeType() {
        return this.nodeType;
    }
    /**
     * @return Display version of the operating system running on the cluster node.
     * 
     */
    public String osDisplayVersion() {
        return this.osDisplayVersion;
    }
    /**
     * @return Operating system running on the cluster node.
     * 
     */
    public String osName() {
        return this.osName;
    }
    /**
     * @return Version of the operating system running on the cluster node.
     * 
     */
    public String osVersion() {
        return this.osVersion;
    }
    /**
     * @return Immutable id of the cluster node.
     * 
     */
    public String serialNumber() {
        return this.serialNumber;
    }
    /**
     * @return State of Windows Server Subscription.
     * 
     */
    public String windowsServerSubscription() {
        return this.windowsServerSubscription;
    }

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

    public static Builder builder(ClusterNodeResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double coreCount;
        private String ehcResourceId;
        private Double id;
        private String lastLicensingTimestamp;
        private String manufacturer;
        private Double memoryInGiB;
        private String model;
        private String name;
        private String nodeType;
        private String osDisplayVersion;
        private String osName;
        private String osVersion;
        private String serialNumber;
        private String windowsServerSubscription;
        public Builder() {}
        public Builder(ClusterNodeResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.coreCount = defaults.coreCount;
    	      this.ehcResourceId = defaults.ehcResourceId;
    	      this.id = defaults.id;
    	      this.lastLicensingTimestamp = defaults.lastLicensingTimestamp;
    	      this.manufacturer = defaults.manufacturer;
    	      this.memoryInGiB = defaults.memoryInGiB;
    	      this.model = defaults.model;
    	      this.name = defaults.name;
    	      this.nodeType = defaults.nodeType;
    	      this.osDisplayVersion = defaults.osDisplayVersion;
    	      this.osName = defaults.osName;
    	      this.osVersion = defaults.osVersion;
    	      this.serialNumber = defaults.serialNumber;
    	      this.windowsServerSubscription = defaults.windowsServerSubscription;
        }

        @CustomType.Setter
        public Builder coreCount(Double coreCount) {
            if (coreCount == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "coreCount");
            }
            this.coreCount = coreCount;
            return this;
        }
        @CustomType.Setter
        public Builder ehcResourceId(String ehcResourceId) {
            if (ehcResourceId == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "ehcResourceId");
            }
            this.ehcResourceId = ehcResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder id(Double id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder lastLicensingTimestamp(String lastLicensingTimestamp) {
            if (lastLicensingTimestamp == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "lastLicensingTimestamp");
            }
            this.lastLicensingTimestamp = lastLicensingTimestamp;
            return this;
        }
        @CustomType.Setter
        public Builder manufacturer(String manufacturer) {
            if (manufacturer == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "manufacturer");
            }
            this.manufacturer = manufacturer;
            return this;
        }
        @CustomType.Setter
        public Builder memoryInGiB(Double memoryInGiB) {
            if (memoryInGiB == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "memoryInGiB");
            }
            this.memoryInGiB = memoryInGiB;
            return this;
        }
        @CustomType.Setter
        public Builder model(String model) {
            if (model == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "model");
            }
            this.model = model;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder nodeType(String nodeType) {
            if (nodeType == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "nodeType");
            }
            this.nodeType = nodeType;
            return this;
        }
        @CustomType.Setter
        public Builder osDisplayVersion(String osDisplayVersion) {
            if (osDisplayVersion == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "osDisplayVersion");
            }
            this.osDisplayVersion = osDisplayVersion;
            return this;
        }
        @CustomType.Setter
        public Builder osName(String osName) {
            if (osName == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "osName");
            }
            this.osName = osName;
            return this;
        }
        @CustomType.Setter
        public Builder osVersion(String osVersion) {
            if (osVersion == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "osVersion");
            }
            this.osVersion = osVersion;
            return this;
        }
        @CustomType.Setter
        public Builder serialNumber(String serialNumber) {
            if (serialNumber == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "serialNumber");
            }
            this.serialNumber = serialNumber;
            return this;
        }
        @CustomType.Setter
        public Builder windowsServerSubscription(String windowsServerSubscription) {
            if (windowsServerSubscription == null) {
              throw new MissingRequiredPropertyException("ClusterNodeResponse", "windowsServerSubscription");
            }
            this.windowsServerSubscription = windowsServerSubscription;
            return this;
        }
        public ClusterNodeResponse build() {
            final var _resultValue = new ClusterNodeResponse();
            _resultValue.coreCount = coreCount;
            _resultValue.ehcResourceId = ehcResourceId;
            _resultValue.id = id;
            _resultValue.lastLicensingTimestamp = lastLicensingTimestamp;
            _resultValue.manufacturer = manufacturer;
            _resultValue.memoryInGiB = memoryInGiB;
            _resultValue.model = model;
            _resultValue.name = name;
            _resultValue.nodeType = nodeType;
            _resultValue.osDisplayVersion = osDisplayVersion;
            _resultValue.osName = osName;
            _resultValue.osVersion = osVersion;
            _resultValue.serialNumber = serialNumber;
            _resultValue.windowsServerSubscription = windowsServerSubscription;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy