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

com.pulumi.azurenative.databoxedge.outputs.GetIoTAddonResult Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.IoTDeviceInfoResponse;
import com.pulumi.azurenative.databoxedge.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetIoTAddonResult {
    /**
     * @return Host OS supported by the IoT addon.
     * 
     */
    private String hostPlatform;
    /**
     * @return Platform where the runtime is hosted.
     * 
     */
    private String hostPlatformType;
    /**
     * @return The path ID that uniquely identifies the object.
     * 
     */
    private String id;
    /**
     * @return IoT device metadata to which appliance needs to be connected.
     * 
     */
    private IoTDeviceInfoResponse ioTDeviceDetails;
    /**
     * @return IoT edge device to which the IoT Addon needs to be configured.
     * 
     */
    private IoTDeviceInfoResponse ioTEdgeDeviceDetails;
    /**
     * @return Addon type.
     * Expected value is 'IotEdge'.
     * 
     */
    private String kind;
    /**
     * @return The object name.
     * 
     */
    private String name;
    /**
     * @return Addon Provisioning State
     * 
     */
    private String provisioningState;
    /**
     * @return Metadata pertaining to creation and last modification of Addon
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return The hierarchical type of the object.
     * 
     */
    private String type;
    /**
     * @return Version of IoT running on the appliance.
     * 
     */
    private String version;

    private GetIoTAddonResult() {}
    /**
     * @return Host OS supported by the IoT addon.
     * 
     */
    public String hostPlatform() {
        return this.hostPlatform;
    }
    /**
     * @return Platform where the runtime is hosted.
     * 
     */
    public String hostPlatformType() {
        return this.hostPlatformType;
    }
    /**
     * @return The path ID that uniquely identifies the object.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return IoT device metadata to which appliance needs to be connected.
     * 
     */
    public IoTDeviceInfoResponse ioTDeviceDetails() {
        return this.ioTDeviceDetails;
    }
    /**
     * @return IoT edge device to which the IoT Addon needs to be configured.
     * 
     */
    public IoTDeviceInfoResponse ioTEdgeDeviceDetails() {
        return this.ioTEdgeDeviceDetails;
    }
    /**
     * @return Addon type.
     * Expected value is 'IotEdge'.
     * 
     */
    public String kind() {
        return this.kind;
    }
    /**
     * @return The object name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Addon Provisioning State
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Metadata pertaining to creation and last modification of Addon
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return The hierarchical type of the object.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Version of IoT running on the appliance.
     * 
     */
    public String version() {
        return this.version;
    }

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

    public static Builder builder(GetIoTAddonResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String hostPlatform;
        private String hostPlatformType;
        private String id;
        private IoTDeviceInfoResponse ioTDeviceDetails;
        private IoTDeviceInfoResponse ioTEdgeDeviceDetails;
        private String kind;
        private String name;
        private String provisioningState;
        private SystemDataResponse systemData;
        private String type;
        private String version;
        public Builder() {}
        public Builder(GetIoTAddonResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.hostPlatform = defaults.hostPlatform;
    	      this.hostPlatformType = defaults.hostPlatformType;
    	      this.id = defaults.id;
    	      this.ioTDeviceDetails = defaults.ioTDeviceDetails;
    	      this.ioTEdgeDeviceDetails = defaults.ioTEdgeDeviceDetails;
    	      this.kind = defaults.kind;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder hostPlatform(String hostPlatform) {
            if (hostPlatform == null) {
              throw new MissingRequiredPropertyException("GetIoTAddonResult", "hostPlatform");
            }
            this.hostPlatform = hostPlatform;
            return this;
        }
        @CustomType.Setter
        public Builder hostPlatformType(String hostPlatformType) {
            if (hostPlatformType == null) {
              throw new MissingRequiredPropertyException("GetIoTAddonResult", "hostPlatformType");
            }
            this.hostPlatformType = hostPlatformType;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetIoTAddonResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder ioTDeviceDetails(IoTDeviceInfoResponse ioTDeviceDetails) {
            if (ioTDeviceDetails == null) {
              throw new MissingRequiredPropertyException("GetIoTAddonResult", "ioTDeviceDetails");
            }
            this.ioTDeviceDetails = ioTDeviceDetails;
            return this;
        }
        @CustomType.Setter
        public Builder ioTEdgeDeviceDetails(IoTDeviceInfoResponse ioTEdgeDeviceDetails) {
            if (ioTEdgeDeviceDetails == null) {
              throw new MissingRequiredPropertyException("GetIoTAddonResult", "ioTEdgeDeviceDetails");
            }
            this.ioTEdgeDeviceDetails = ioTEdgeDeviceDetails;
            return this;
        }
        @CustomType.Setter
        public Builder kind(String kind) {
            if (kind == null) {
              throw new MissingRequiredPropertyException("GetIoTAddonResult", "kind");
            }
            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetIoTAddonResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetIoTAddonResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetIoTAddonResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetIoTAddonResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder version(String version) {
            if (version == null) {
              throw new MissingRequiredPropertyException("GetIoTAddonResult", "version");
            }
            this.version = version;
            return this;
        }
        public GetIoTAddonResult build() {
            final var _resultValue = new GetIoTAddonResult();
            _resultValue.hostPlatform = hostPlatform;
            _resultValue.hostPlatformType = hostPlatformType;
            _resultValue.id = id;
            _resultValue.ioTDeviceDetails = ioTDeviceDetails;
            _resultValue.ioTEdgeDeviceDetails = ioTEdgeDeviceDetails;
            _resultValue.kind = kind;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy