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

com.pulumi.azurenative.virtualmachineimages.outputs.ImageTemplatePropertiesResponseOptimize Maven / Gradle / Ivy

// *** 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.virtualmachineimages.outputs;

import com.pulumi.azurenative.virtualmachineimages.outputs.ImageTemplatePropertiesResponseVmBoot;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ImageTemplatePropertiesResponseOptimize {
    /**
     * @return Optimization is applied on the image for a faster VM boot.
     * 
     */
    private @Nullable ImageTemplatePropertiesResponseVmBoot vmBoot;

    private ImageTemplatePropertiesResponseOptimize() {}
    /**
     * @return Optimization is applied on the image for a faster VM boot.
     * 
     */
    public Optional vmBoot() {
        return Optional.ofNullable(this.vmBoot);
    }

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

    public static Builder builder(ImageTemplatePropertiesResponseOptimize defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ImageTemplatePropertiesResponseVmBoot vmBoot;
        public Builder() {}
        public Builder(ImageTemplatePropertiesResponseOptimize defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.vmBoot = defaults.vmBoot;
        }

        @CustomType.Setter
        public Builder vmBoot(@Nullable ImageTemplatePropertiesResponseVmBoot vmBoot) {

            this.vmBoot = vmBoot;
            return this;
        }
        public ImageTemplatePropertiesResponseOptimize build() {
            final var _resultValue = new ImageTemplatePropertiesResponseOptimize();
            _resultValue.vmBoot = vmBoot;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy