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

com.pulumi.aws.imagebuilder.inputs.ImageImageTestsConfigurationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.imagebuilder.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ImageImageTestsConfigurationArgs Empty = new ImageImageTestsConfigurationArgs();

    /**
     * Whether image tests are enabled. Defaults to `true`.
     * 
     */
    @Import(name="imageTestsEnabled")
    private @Nullable Output imageTestsEnabled;

    /**
     * @return Whether image tests are enabled. Defaults to `true`.
     * 
     */
    public Optional> imageTestsEnabled() {
        return Optional.ofNullable(this.imageTestsEnabled);
    }

    /**
     * Number of minutes before image tests time out. Valid values are between `60` and `1440`. Defaults to `720`.
     * 
     */
    @Import(name="timeoutMinutes")
    private @Nullable Output timeoutMinutes;

    /**
     * @return Number of minutes before image tests time out. Valid values are between `60` and `1440`. Defaults to `720`.
     * 
     */
    public Optional> timeoutMinutes() {
        return Optional.ofNullable(this.timeoutMinutes);
    }

    private ImageImageTestsConfigurationArgs() {}

    private ImageImageTestsConfigurationArgs(ImageImageTestsConfigurationArgs $) {
        this.imageTestsEnabled = $.imageTestsEnabled;
        this.timeoutMinutes = $.timeoutMinutes;
    }

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

    public static final class Builder {
        private ImageImageTestsConfigurationArgs $;

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

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

        /**
         * @param imageTestsEnabled Whether image tests are enabled. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder imageTestsEnabled(@Nullable Output imageTestsEnabled) {
            $.imageTestsEnabled = imageTestsEnabled;
            return this;
        }

        /**
         * @param imageTestsEnabled Whether image tests are enabled. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder imageTestsEnabled(Boolean imageTestsEnabled) {
            return imageTestsEnabled(Output.of(imageTestsEnabled));
        }

        /**
         * @param timeoutMinutes Number of minutes before image tests time out. Valid values are between `60` and `1440`. Defaults to `720`.
         * 
         * @return builder
         * 
         */
        public Builder timeoutMinutes(@Nullable Output timeoutMinutes) {
            $.timeoutMinutes = timeoutMinutes;
            return this;
        }

        /**
         * @param timeoutMinutes Number of minutes before image tests time out. Valid values are between `60` and `1440`. Defaults to `720`.
         * 
         * @return builder
         * 
         */
        public Builder timeoutMinutes(Integer timeoutMinutes) {
            return timeoutMinutes(Output.of(timeoutMinutes));
        }

        public ImageImageTestsConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy