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

com.pulumi.vsphere.inputs.GuestOsCustomizationState 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.GuestOsCustomizationSpecArgs;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GuestOsCustomizationState Empty = new GuestOsCustomizationState();

    /**
     * The number of last changed version to the customization specification.
     * 
     */
    @Import(name="changeVersion")
    private @Nullable Output changeVersion;

    /**
     * @return The number of last changed version to the customization specification.
     * 
     */
    public Optional> changeVersion() {
        return Optional.ofNullable(this.changeVersion);
    }

    /**
     * The description for the customization specification.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description for the customization specification.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The time of last modification to the customization specification.
     * 
     */
    @Import(name="lastUpdateTime")
    private @Nullable Output lastUpdateTime;

    /**
     * @return The time of last modification to the customization specification.
     * 
     */
    public Optional> lastUpdateTime() {
        return Optional.ofNullable(this.lastUpdateTime);
    }

    /**
     * The name of the customization specification is the unique identifier per vCenter Server instance.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the customization specification is the unique identifier per vCenter Server instance.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Container object for the Guest OS properties about to be customized . See virtual machine customizations
     * 
     */
    @Import(name="spec")
    private @Nullable Output spec;

    /**
     * @return Container object for the Guest OS properties about to be customized . See virtual machine customizations
     * 
     */
    public Optional> spec() {
        return Optional.ofNullable(this.spec);
    }

    /**
     * The type of customization specification: One among: Windows, Linux.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return The type of customization specification: One among: Windows, Linux.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private GuestOsCustomizationState() {}

    private GuestOsCustomizationState(GuestOsCustomizationState $) {
        this.changeVersion = $.changeVersion;
        this.description = $.description;
        this.lastUpdateTime = $.lastUpdateTime;
        this.name = $.name;
        this.spec = $.spec;
        this.type = $.type;
    }

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

    public static final class Builder {
        private GuestOsCustomizationState $;

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

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

        /**
         * @param changeVersion The number of last changed version to the customization specification.
         * 
         * @return builder
         * 
         */
        public Builder changeVersion(@Nullable Output changeVersion) {
            $.changeVersion = changeVersion;
            return this;
        }

        /**
         * @param changeVersion The number of last changed version to the customization specification.
         * 
         * @return builder
         * 
         */
        public Builder changeVersion(String changeVersion) {
            return changeVersion(Output.of(changeVersion));
        }

        /**
         * @param description The description for the customization specification.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description for the customization specification.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param lastUpdateTime The time of last modification to the customization specification.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdateTime(@Nullable Output lastUpdateTime) {
            $.lastUpdateTime = lastUpdateTime;
            return this;
        }

        /**
         * @param lastUpdateTime The time of last modification to the customization specification.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdateTime(String lastUpdateTime) {
            return lastUpdateTime(Output.of(lastUpdateTime));
        }

        /**
         * @param name The name of the customization specification is the unique identifier per vCenter Server instance.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the customization specification is the unique identifier per vCenter Server instance.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param spec Container object for the Guest OS properties about to be customized . See virtual machine customizations
         * 
         * @return builder
         * 
         */
        public Builder spec(@Nullable Output spec) {
            $.spec = spec;
            return this;
        }

        /**
         * @param spec Container object for the Guest OS properties about to be customized . See virtual machine customizations
         * 
         * @return builder
         * 
         */
        public Builder spec(GuestOsCustomizationSpecArgs spec) {
            return spec(Output.of(spec));
        }

        /**
         * @param type The type of customization specification: One among: Windows, Linux.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The type of customization specification: One among: Windows, Linux.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public GuestOsCustomizationState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy