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

com.pulumi.vsphere.inputs.VirtualMachineCloneArgs Maven / Gradle / Ivy

There is a newer version: 4.13.0-alpha.1731738919
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.vsphere.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.vsphere.inputs.VirtualMachineCloneCustomizationSpecArgs;
import com.pulumi.vsphere.inputs.VirtualMachineCloneCustomizeArgs;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final VirtualMachineCloneArgs Empty = new VirtualMachineCloneArgs();

    @Import(name="customizationSpec")
    private @Nullable Output customizationSpec;

    public Optional> customizationSpec() {
        return Optional.ofNullable(this.customizationSpec);
    }

    @Import(name="customize")
    private @Nullable Output customize;

    public Optional> customize() {
        return Optional.ofNullable(this.customize);
    }

    @Import(name="linkedClone")
    private @Nullable Output linkedClone;

    public Optional> linkedClone() {
        return Optional.ofNullable(this.linkedClone);
    }

    @Import(name="ovfNetworkMap")
    private @Nullable Output> ovfNetworkMap;

    public Optional>> ovfNetworkMap() {
        return Optional.ofNullable(this.ovfNetworkMap);
    }

    @Import(name="ovfStorageMap")
    private @Nullable Output> ovfStorageMap;

    public Optional>> ovfStorageMap() {
        return Optional.ofNullable(this.ovfStorageMap);
    }

    @Import(name="templateUuid", required=true)
    private Output templateUuid;

    public Output templateUuid() {
        return this.templateUuid;
    }

    @Import(name="timeout")
    private @Nullable Output timeout;

    public Optional> timeout() {
        return Optional.ofNullable(this.timeout);
    }

    private VirtualMachineCloneArgs() {}

    private VirtualMachineCloneArgs(VirtualMachineCloneArgs $) {
        this.customizationSpec = $.customizationSpec;
        this.customize = $.customize;
        this.linkedClone = $.linkedClone;
        this.ovfNetworkMap = $.ovfNetworkMap;
        this.ovfStorageMap = $.ovfStorageMap;
        this.templateUuid = $.templateUuid;
        this.timeout = $.timeout;
    }

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

    public static final class Builder {
        private VirtualMachineCloneArgs $;

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

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

        public Builder customizationSpec(@Nullable Output customizationSpec) {
            $.customizationSpec = customizationSpec;
            return this;
        }

        public Builder customizationSpec(VirtualMachineCloneCustomizationSpecArgs customizationSpec) {
            return customizationSpec(Output.of(customizationSpec));
        }

        public Builder customize(@Nullable Output customize) {
            $.customize = customize;
            return this;
        }

        public Builder customize(VirtualMachineCloneCustomizeArgs customize) {
            return customize(Output.of(customize));
        }

        public Builder linkedClone(@Nullable Output linkedClone) {
            $.linkedClone = linkedClone;
            return this;
        }

        public Builder linkedClone(Boolean linkedClone) {
            return linkedClone(Output.of(linkedClone));
        }

        public Builder ovfNetworkMap(@Nullable Output> ovfNetworkMap) {
            $.ovfNetworkMap = ovfNetworkMap;
            return this;
        }

        public Builder ovfNetworkMap(Map ovfNetworkMap) {
            return ovfNetworkMap(Output.of(ovfNetworkMap));
        }

        public Builder ovfStorageMap(@Nullable Output> ovfStorageMap) {
            $.ovfStorageMap = ovfStorageMap;
            return this;
        }

        public Builder ovfStorageMap(Map ovfStorageMap) {
            return ovfStorageMap(Output.of(ovfStorageMap));
        }

        public Builder templateUuid(Output templateUuid) {
            $.templateUuid = templateUuid;
            return this;
        }

        public Builder templateUuid(String templateUuid) {
            return templateUuid(Output.of(templateUuid));
        }

        public Builder timeout(@Nullable Output timeout) {
            $.timeout = timeout;
            return this;
        }

        public Builder timeout(Integer timeout) {
            return timeout(Output.of(timeout));
        }

        public VirtualMachineCloneArgs build() {
            $.templateUuid = Objects.requireNonNull($.templateUuid, "expected parameter 'templateUuid' to be non-null");
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy