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

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

The 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.scvmm.outputs;

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

@CustomType
public final class GetVirtualNetworkResult {
    /**
     * @return The extended location.
     * 
     */
    private ExtendedLocationResponse extendedLocation;
    /**
     * @return Resource Id
     * 
     */
    private String id;
    /**
     * @return Gets or sets the inventory Item ID for the resource.
     * 
     */
    private @Nullable String inventoryItemId;
    /**
     * @return Gets or sets the location.
     * 
     */
    private String location;
    /**
     * @return Resource Name
     * 
     */
    private String name;
    /**
     * @return Name of the virtual network in vmmServer.
     * 
     */
    private String networkName;
    /**
     * @return Gets or sets the provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return The system data.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Resource Type
     * 
     */
    private String type;
    /**
     * @return Unique ID of the virtual network.
     * 
     */
    private @Nullable String uuid;
    /**
     * @return ARM Id of the vmmServer resource in which this resource resides.
     * 
     */
    private @Nullable String vmmServerId;

    private GetVirtualNetworkResult() {}
    /**
     * @return The extended location.
     * 
     */
    public ExtendedLocationResponse extendedLocation() {
        return this.extendedLocation;
    }
    /**
     * @return Resource Id
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Gets or sets the inventory Item ID for the resource.
     * 
     */
    public Optional inventoryItemId() {
        return Optional.ofNullable(this.inventoryItemId);
    }
    /**
     * @return Gets or sets the location.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return Resource Name
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Name of the virtual network in vmmServer.
     * 
     */
    public String networkName() {
        return this.networkName;
    }
    /**
     * @return Gets or sets the provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The system data.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Resource Type
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Unique ID of the virtual network.
     * 
     */
    public Optional uuid() {
        return Optional.ofNullable(this.uuid);
    }
    /**
     * @return ARM Id of the vmmServer resource in which this resource resides.
     * 
     */
    public Optional vmmServerId() {
        return Optional.ofNullable(this.vmmServerId);
    }

    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 ExtendedLocationResponse extendedLocation;
        private String id;
        private @Nullable String inventoryItemId;
        private String location;
        private String name;
        private String networkName;
        private String provisioningState;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        private @Nullable String uuid;
        private @Nullable String vmmServerId;
        public Builder() {}
        public Builder(GetVirtualNetworkResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.extendedLocation = defaults.extendedLocation;
    	      this.id = defaults.id;
    	      this.inventoryItemId = defaults.inventoryItemId;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.networkName = defaults.networkName;
    	      this.provisioningState = defaults.provisioningState;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.uuid = defaults.uuid;
    	      this.vmmServerId = defaults.vmmServerId;
        }

        @CustomType.Setter
        public Builder extendedLocation(ExtendedLocationResponse extendedLocation) {
            if (extendedLocation == null) {
              throw new MissingRequiredPropertyException("GetVirtualNetworkResult", "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 location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetVirtualNetworkResult", "location");
            }
            this.location = location;
            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 networkName(String networkName) {
            if (networkName == null) {
              throw new MissingRequiredPropertyException("GetVirtualNetworkResult", "networkName");
            }
            this.networkName = networkName;
            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 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(@Nullable String uuid) {

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

            this.vmmServerId = vmmServerId;
            return this;
        }
        public GetVirtualNetworkResult build() {
            final var _resultValue = new GetVirtualNetworkResult();
            _resultValue.extendedLocation = extendedLocation;
            _resultValue.id = id;
            _resultValue.inventoryItemId = inventoryItemId;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.networkName = networkName;
            _resultValue.provisioningState = provisioningState;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.uuid = uuid;
            _resultValue.vmmServerId = vmmServerId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy