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

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

import com.pulumi.azurenative.connectedvmwarevsphere.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.connectedvmwarevsphere.inputs.HardwareProfileArgs;
import com.pulumi.azurenative.connectedvmwarevsphere.inputs.InfrastructureProfileArgs;
import com.pulumi.azurenative.connectedvmwarevsphere.inputs.NetworkProfileArgs;
import com.pulumi.azurenative.connectedvmwarevsphere.inputs.OsProfileForVMInstanceArgs;
import com.pulumi.azurenative.connectedvmwarevsphere.inputs.PlacementProfileArgs;
import com.pulumi.azurenative.connectedvmwarevsphere.inputs.SecurityProfileArgs;
import com.pulumi.azurenative.connectedvmwarevsphere.inputs.StorageProfileArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final VirtualMachineInstanceArgs Empty = new VirtualMachineInstanceArgs();

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

    /**
     * Hardware properties.
     * 
     */
    @Import(name="hardwareProfile")
    private @Nullable Output hardwareProfile;

    /**
     * @return Hardware properties.
     * 
     */
    public Optional> hardwareProfile() {
        return Optional.ofNullable(this.hardwareProfile);
    }

    /**
     * Gets the infrastructure profile.
     * 
     */
    @Import(name="infrastructureProfile")
    private @Nullable Output infrastructureProfile;

    /**
     * @return Gets the infrastructure profile.
     * 
     */
    public Optional> infrastructureProfile() {
        return Optional.ofNullable(this.infrastructureProfile);
    }

    /**
     * Network properties.
     * 
     */
    @Import(name="networkProfile")
    private @Nullable Output networkProfile;

    /**
     * @return Network properties.
     * 
     */
    public Optional> networkProfile() {
        return Optional.ofNullable(this.networkProfile);
    }

    /**
     * OS properties.
     * 
     */
    @Import(name="osProfile")
    private @Nullable Output osProfile;

    /**
     * @return OS properties.
     * 
     */
    public Optional> osProfile() {
        return Optional.ofNullable(this.osProfile);
    }

    /**
     * Placement properties.
     * 
     */
    @Import(name="placementProfile")
    private @Nullable Output placementProfile;

    /**
     * @return Placement properties.
     * 
     */
    public Optional> placementProfile() {
        return Optional.ofNullable(this.placementProfile);
    }

    /**
     * The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
     * 
     */
    @Import(name="resourceUri", required=true)
    private Output resourceUri;

    /**
     * @return The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
     * 
     */
    public Output resourceUri() {
        return this.resourceUri;
    }

    /**
     * Gets the security profile.
     * 
     */
    @Import(name="securityProfile")
    private @Nullable Output securityProfile;

    /**
     * @return Gets the security profile.
     * 
     */
    public Optional> securityProfile() {
        return Optional.ofNullable(this.securityProfile);
    }

    /**
     * Storage properties.
     * 
     */
    @Import(name="storageProfile")
    private @Nullable Output storageProfile;

    /**
     * @return Storage properties.
     * 
     */
    public Optional> storageProfile() {
        return Optional.ofNullable(this.storageProfile);
    }

    private VirtualMachineInstanceArgs() {}

    private VirtualMachineInstanceArgs(VirtualMachineInstanceArgs $) {
        this.extendedLocation = $.extendedLocation;
        this.hardwareProfile = $.hardwareProfile;
        this.infrastructureProfile = $.infrastructureProfile;
        this.networkProfile = $.networkProfile;
        this.osProfile = $.osProfile;
        this.placementProfile = $.placementProfile;
        this.resourceUri = $.resourceUri;
        this.securityProfile = $.securityProfile;
        this.storageProfile = $.storageProfile;
    }

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

    public static final class Builder {
        private VirtualMachineInstanceArgs $;

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

        public Builder(VirtualMachineInstanceArgs defaults) {
            $ = new VirtualMachineInstanceArgs(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 hardwareProfile Hardware properties.
         * 
         * @return builder
         * 
         */
        public Builder hardwareProfile(@Nullable Output hardwareProfile) {
            $.hardwareProfile = hardwareProfile;
            return this;
        }

        /**
         * @param hardwareProfile Hardware properties.
         * 
         * @return builder
         * 
         */
        public Builder hardwareProfile(HardwareProfileArgs hardwareProfile) {
            return hardwareProfile(Output.of(hardwareProfile));
        }

        /**
         * @param infrastructureProfile Gets the infrastructure profile.
         * 
         * @return builder
         * 
         */
        public Builder infrastructureProfile(@Nullable Output infrastructureProfile) {
            $.infrastructureProfile = infrastructureProfile;
            return this;
        }

        /**
         * @param infrastructureProfile Gets the infrastructure profile.
         * 
         * @return builder
         * 
         */
        public Builder infrastructureProfile(InfrastructureProfileArgs infrastructureProfile) {
            return infrastructureProfile(Output.of(infrastructureProfile));
        }

        /**
         * @param networkProfile Network properties.
         * 
         * @return builder
         * 
         */
        public Builder networkProfile(@Nullable Output networkProfile) {
            $.networkProfile = networkProfile;
            return this;
        }

        /**
         * @param networkProfile Network properties.
         * 
         * @return builder
         * 
         */
        public Builder networkProfile(NetworkProfileArgs networkProfile) {
            return networkProfile(Output.of(networkProfile));
        }

        /**
         * @param osProfile OS properties.
         * 
         * @return builder
         * 
         */
        public Builder osProfile(@Nullable Output osProfile) {
            $.osProfile = osProfile;
            return this;
        }

        /**
         * @param osProfile OS properties.
         * 
         * @return builder
         * 
         */
        public Builder osProfile(OsProfileForVMInstanceArgs osProfile) {
            return osProfile(Output.of(osProfile));
        }

        /**
         * @param placementProfile Placement properties.
         * 
         * @return builder
         * 
         */
        public Builder placementProfile(@Nullable Output placementProfile) {
            $.placementProfile = placementProfile;
            return this;
        }

        /**
         * @param placementProfile Placement properties.
         * 
         * @return builder
         * 
         */
        public Builder placementProfile(PlacementProfileArgs placementProfile) {
            return placementProfile(Output.of(placementProfile));
        }

        /**
         * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
         * 
         * @return builder
         * 
         */
        public Builder resourceUri(Output resourceUri) {
            $.resourceUri = resourceUri;
            return this;
        }

        /**
         * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
         * 
         * @return builder
         * 
         */
        public Builder resourceUri(String resourceUri) {
            return resourceUri(Output.of(resourceUri));
        }

        /**
         * @param securityProfile Gets the security profile.
         * 
         * @return builder
         * 
         */
        public Builder securityProfile(@Nullable Output securityProfile) {
            $.securityProfile = securityProfile;
            return this;
        }

        /**
         * @param securityProfile Gets the security profile.
         * 
         * @return builder
         * 
         */
        public Builder securityProfile(SecurityProfileArgs securityProfile) {
            return securityProfile(Output.of(securityProfile));
        }

        /**
         * @param storageProfile Storage properties.
         * 
         * @return builder
         * 
         */
        public Builder storageProfile(@Nullable Output storageProfile) {
            $.storageProfile = storageProfile;
            return this;
        }

        /**
         * @param storageProfile Storage properties.
         * 
         * @return builder
         * 
         */
        public Builder storageProfile(StorageProfileArgs storageProfile) {
            return storageProfile(Output.of(storageProfile));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy