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

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

There is a newer version: 2.72.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.ExtendedLocationResponse;
import com.pulumi.azurenative.connectedvmwarevsphere.outputs.ResourceStatusResponse;
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.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetVirtualNetworkResult {
    /**
     * @return Gets the name of the corresponding resource in Kubernetes.
     * 
     */
    private String customResourceName;
    /**
     * @return Gets or sets the extended location.
     * 
     */
    private @Nullable ExtendedLocationResponse extendedLocation;
    /**
     * @return Gets or sets the Id.
     * 
     */
    private String id;
    /**
     * @return Gets or sets the inventory Item ID for the virtual network.
     * 
     */
    private @Nullable String inventoryItemId;
    /**
     * @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 location.
     * 
     */
    private String location;
    /**
     * @return Gets or sets the vCenter Managed Object name for the virtual network.
     * 
     */
    private String moName;
    /**
     * @return Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
     * 
     */
    private @Nullable String moRefId;
    /**
     * @return Gets or sets the name.
     * 
     */
    private String name;
    /**
     * @return Gets or sets the provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return The resource status information.
     * 
     */
    private List statuses;
    /**
     * @return The system data.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Gets or sets the Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Gets or sets the type of the resource.
     * 
     */
    private String type;
    /**
     * @return Gets or sets a unique identifier for this resource.
     * 
     */
    private String uuid;
    /**
     * @return Gets or sets the ARM Id of the vCenter resource in which this template resides.
     * 
     */
    private @Nullable String vCenterId;

    private GetVirtualNetworkResult() {}
    /**
     * @return Gets the name of the corresponding resource in Kubernetes.
     * 
     */
    public String customResourceName() {
        return this.customResourceName;
    }
    /**
     * @return Gets or sets the extended location.
     * 
     */
    public Optional extendedLocation() {
        return Optional.ofNullable(this.extendedLocation);
    }
    /**
     * @return Gets or sets the Id.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Gets or sets the inventory Item ID for the virtual network.
     * 
     */
    public Optional inventoryItemId() {
        return Optional.ofNullable(this.inventoryItemId);
    }
    /**
     * @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 location.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return Gets or sets the vCenter Managed Object name for the virtual network.
     * 
     */
    public String moName() {
        return this.moName;
    }
    /**
     * @return Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
     * 
     */
    public Optional moRefId() {
        return Optional.ofNullable(this.moRefId);
    }
    /**
     * @return Gets or sets the name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Gets or sets the provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The resource status information.
     * 
     */
    public List statuses() {
        return this.statuses;
    }
    /**
     * @return The system data.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Gets or sets the Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Gets or sets the type of the resource.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Gets or sets a unique identifier for this resource.
     * 
     */
    public String uuid() {
        return this.uuid;
    }
    /**
     * @return Gets or sets the ARM Id of the vCenter resource in which this template resides.
     * 
     */
    public Optional vCenterId() {
        return Optional.ofNullable(this.vCenterId);
    }

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

    public static Builder builder(GetVirtualNetworkResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String customResourceName;
        private @Nullable ExtendedLocationResponse extendedLocation;
        private String id;
        private @Nullable String inventoryItemId;
        private @Nullable String kind;
        private String location;
        private String moName;
        private @Nullable String moRefId;
        private String name;
        private String provisioningState;
        private List statuses;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        private String uuid;
        private @Nullable String vCenterId;
        public Builder() {}
        public Builder(GetVirtualNetworkResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.customResourceName = defaults.customResourceName;
    	      this.extendedLocation = defaults.extendedLocation;
    	      this.id = defaults.id;
    	      this.inventoryItemId = defaults.inventoryItemId;
    	      this.kind = defaults.kind;
    	      this.location = defaults.location;
    	      this.moName = defaults.moName;
    	      this.moRefId = defaults.moRefId;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.statuses = defaults.statuses;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.uuid = defaults.uuid;
    	      this.vCenterId = defaults.vCenterId;
        }

        @CustomType.Setter
        public Builder customResourceName(String customResourceName) {
            if (customResourceName == null) {
              throw new MissingRequiredPropertyException("GetVirtualNetworkResult", "customResourceName");
            }
            this.customResourceName = customResourceName;
            return this;
        }
        @CustomType.Setter
        public Builder extendedLocation(@Nullable ExtendedLocationResponse extendedLocation) {

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

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

            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetVirtualNetworkResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder moName(String moName) {
            if (moName == null) {
              throw new MissingRequiredPropertyException("GetVirtualNetworkResult", "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("GetVirtualNetworkResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetVirtualNetworkResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder statuses(List statuses) {
            if (statuses == null) {
              throw new MissingRequiredPropertyException("GetVirtualNetworkResult", "statuses");
            }
            this.statuses = statuses;
            return this;
        }
        public Builder statuses(ResourceStatusResponse... statuses) {
            return statuses(List.of(statuses));
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetVirtualNetworkResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetVirtualNetworkResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder uuid(String uuid) {
            if (uuid == null) {
              throw new MissingRequiredPropertyException("GetVirtualNetworkResult", "uuid");
            }
            this.uuid = uuid;
            return this;
        }
        @CustomType.Setter
        public Builder vCenterId(@Nullable String vCenterId) {

            this.vCenterId = vCenterId;
            return this;
        }
        public GetVirtualNetworkResult build() {
            final var _resultValue = new GetVirtualNetworkResult();
            _resultValue.customResourceName = customResourceName;
            _resultValue.extendedLocation = extendedLocation;
            _resultValue.id = id;
            _resultValue.inventoryItemId = inventoryItemId;
            _resultValue.kind = kind;
            _resultValue.location = location;
            _resultValue.moName = moName;
            _resultValue.moRefId = moRefId;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.statuses = statuses;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.uuid = uuid;
            _resultValue.vCenterId = vCenterId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy