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

com.pulumi.azurenative.connectedvmwarevsphere.HostArgs 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.connectedvmwarevsphere;

import com.pulumi.azurenative.connectedvmwarevsphere.inputs.ExtendedLocationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
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;


public final class HostArgs extends com.pulumi.resources.ResourceArgs {

    public static final HostArgs Empty = new HostArgs();

    /**
     * Gets or sets the extended location.
     * 
     */
    @Import(name="extendedLocation")
    private @Nullable Output extendedLocation;

    /**
     * @return Gets or sets the extended location.
     * 
     */
    public Optional> extendedLocation() {
        return Optional.ofNullable(this.extendedLocation);
    }

    /**
     * Name of the host.
     * 
     */
    @Import(name="hostName")
    private @Nullable Output hostName;

    /**
     * @return Name of the host.
     * 
     */
    public Optional> hostName() {
        return Optional.ofNullable(this.hostName);
    }

    /**
     * Gets or sets the inventory Item ID for the host.
     * 
     */
    @Import(name="inventoryItemId")
    private @Nullable Output inventoryItemId;

    /**
     * @return Gets or sets the inventory Item ID for the host.
     * 
     */
    public Optional> inventoryItemId() {
        return Optional.ofNullable(this.inventoryItemId);
    }

    /**
     * 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.
     * 
     */
    @Import(name="kind")
    private @Nullable Output kind;

    /**
     * @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);
    }

    /**
     * Gets or sets the location.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Gets or sets the location.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host.
     * 
     */
    @Import(name="moRefId")
    private @Nullable Output moRefId;

    /**
     * @return Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host.
     * 
     */
    public Optional> moRefId() {
        return Optional.ofNullable(this.moRefId);
    }

    /**
     * The Resource Group Name.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The Resource Group Name.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Gets or sets the Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Gets or sets the Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Gets or sets the ARM Id of the vCenter resource in which this host resides.
     * 
     */
    @Import(name="vCenterId")
    private @Nullable Output vCenterId;

    /**
     * @return Gets or sets the ARM Id of the vCenter resource in which this host resides.
     * 
     */
    public Optional> vCenterId() {
        return Optional.ofNullable(this.vCenterId);
    }

    private HostArgs() {}

    private HostArgs(HostArgs $) {
        this.extendedLocation = $.extendedLocation;
        this.hostName = $.hostName;
        this.inventoryItemId = $.inventoryItemId;
        this.kind = $.kind;
        this.location = $.location;
        this.moRefId = $.moRefId;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.vCenterId = $.vCenterId;
    }

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

    public static final class Builder {
        private HostArgs $;

        public Builder() {
            $ = new HostArgs();
        }

        public Builder(HostArgs defaults) {
            $ = new HostArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param extendedLocation Gets or sets the extended location.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocation(@Nullable Output extendedLocation) {
            $.extendedLocation = extendedLocation;
            return this;
        }

        /**
         * @param extendedLocation Gets or sets the extended location.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocation(ExtendedLocationArgs extendedLocation) {
            return extendedLocation(Output.of(extendedLocation));
        }

        /**
         * @param hostName Name of the host.
         * 
         * @return builder
         * 
         */
        public Builder hostName(@Nullable Output hostName) {
            $.hostName = hostName;
            return this;
        }

        /**
         * @param hostName Name of the host.
         * 
         * @return builder
         * 
         */
        public Builder hostName(String hostName) {
            return hostName(Output.of(hostName));
        }

        /**
         * @param inventoryItemId Gets or sets the inventory Item ID for the host.
         * 
         * @return builder
         * 
         */
        public Builder inventoryItemId(@Nullable Output inventoryItemId) {
            $.inventoryItemId = inventoryItemId;
            return this;
        }

        /**
         * @param inventoryItemId Gets or sets the inventory Item ID for the host.
         * 
         * @return builder
         * 
         */
        public Builder inventoryItemId(String inventoryItemId) {
            return inventoryItemId(Output.of(inventoryItemId));
        }

        /**
         * @param kind 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.
         * 
         * @return builder
         * 
         */
        public Builder kind(@Nullable Output kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind 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.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Output.of(kind));
        }

        /**
         * @param location Gets or sets the location.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Gets or sets the location.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param moRefId Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host.
         * 
         * @return builder
         * 
         */
        public Builder moRefId(@Nullable Output moRefId) {
            $.moRefId = moRefId;
            return this;
        }

        /**
         * @param moRefId Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host.
         * 
         * @return builder
         * 
         */
        public Builder moRefId(String moRefId) {
            return moRefId(Output.of(moRefId));
        }

        /**
         * @param resourceGroupName The Resource Group Name.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The Resource Group Name.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags Gets or sets the Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Gets or sets the Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param vCenterId Gets or sets the ARM Id of the vCenter resource in which this host resides.
         * 
         * @return builder
         * 
         */
        public Builder vCenterId(@Nullable Output vCenterId) {
            $.vCenterId = vCenterId;
            return this;
        }

        /**
         * @param vCenterId Gets or sets the ARM Id of the vCenter resource in which this host resides.
         * 
         * @return builder
         * 
         */
        public Builder vCenterId(String vCenterId) {
            return vCenterId(Output.of(vCenterId));
        }

        public HostArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("HostArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy