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

com.pulumi.azurenative.connectedvmwarevsphere.outputs.GetInventoryItemResult Maven / Gradle / Ivy

There is a newer version: 2.82.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.connectedvmwarevsphere.outputs;

import com.pulumi.azurenative.connectedvmwarevsphere.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetInventoryItemResult {
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return They inventory type.
     * 
     */
    private String inventoryType;
    /**
     * @return Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
     * 
     */
    private @Nullable String kind;
    /**
     * @return Gets or sets the tracked resource id corresponding to the inventory resource.
     * 
     */
    private @Nullable String managedResourceId;
    /**
     * @return Gets or sets the vCenter Managed Object name for the inventory item.
     * 
     */
    private @Nullable String moName;
    /**
     * @return Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.
     * 
     */
    private @Nullable String moRefId;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return Gets or sets the provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return The system data.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetInventoryItemResult() {}
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return They inventory type.
     * 
     */
    public String inventoryType() {
        return this.inventoryType;
    }
    /**
     * @return Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
     * 
     */
    public Optional kind() {
        return Optional.ofNullable(this.kind);
    }
    /**
     * @return Gets or sets the tracked resource id corresponding to the inventory resource.
     * 
     */
    public Optional managedResourceId() {
        return Optional.ofNullable(this.managedResourceId);
    }
    /**
     * @return Gets or sets the vCenter Managed Object name for the inventory item.
     * 
     */
    public Optional moName() {
        return Optional.ofNullable(this.moName);
    }
    /**
     * @return Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.
     * 
     */
    public Optional moRefId() {
        return Optional.ofNullable(this.moRefId);
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Gets or sets the provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The system data.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetInventoryItemResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String inventoryType;
        private @Nullable String kind;
        private @Nullable String managedResourceId;
        private @Nullable String moName;
        private @Nullable String moRefId;
        private String name;
        private String provisioningState;
        private SystemDataResponse systemData;
        private String type;
        public Builder() {}
        public Builder(GetInventoryItemResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.inventoryType = defaults.inventoryType;
    	      this.kind = defaults.kind;
    	      this.managedResourceId = defaults.managedResourceId;
    	      this.moName = defaults.moName;
    	      this.moRefId = defaults.moRefId;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetInventoryItemResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder inventoryType(String inventoryType) {
            if (inventoryType == null) {
              throw new MissingRequiredPropertyException("GetInventoryItemResult", "inventoryType");
            }
            this.inventoryType = inventoryType;
            return this;
        }
        @CustomType.Setter
        public Builder kind(@Nullable String kind) {

            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder managedResourceId(@Nullable String managedResourceId) {

            this.managedResourceId = managedResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder moName(@Nullable String moName) {

            this.moName = moName;
            return this;
        }
        @CustomType.Setter
        public Builder moRefId(@Nullable String moRefId) {

            this.moRefId = moRefId;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetInventoryItemResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetInventoryItemResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetInventoryItemResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetInventoryItemResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetInventoryItemResult build() {
            final var _resultValue = new GetInventoryItemResult();
            _resultValue.id = id;
            _resultValue.inventoryType = inventoryType;
            _resultValue.kind = kind;
            _resultValue.managedResourceId = managedResourceId;
            _resultValue.moName = moName;
            _resultValue.moRefId = moRefId;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy