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

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;

@CustomType
public final class GetImagePipelineImageTestsConfiguration {
    /**
     * @return Whether image tests are enabled.
     * 
     */
    private Boolean imageTestsEnabled;
    /**
     * @return Number of minutes before image tests time out.
     * 
     */
    private Integer timeoutMinutes;

    private GetImagePipelineImageTestsConfiguration() {}
    /**
     * @return Whether image tests are enabled.
     * 
     */
    public Boolean imageTestsEnabled() {
        return this.imageTestsEnabled;
    }
    /**
     * @return Number of minutes before image tests time out.
     * 
     */
    public Integer timeoutMinutes() {
        return this.timeoutMinutes;
    }

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

    public static Builder builder(GetImagePipelineImageTestsConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean imageTestsEnabled;
        private Integer timeoutMinutes;
        public Builder() {}
        public Builder(GetImagePipelineImageTestsConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.imageTestsEnabled = defaults.imageTestsEnabled;
    	      this.timeoutMinutes = defaults.timeoutMinutes;
        }

        @CustomType.Setter
        public Builder imageTestsEnabled(Boolean imageTestsEnabled) {
            this.imageTestsEnabled = Objects.requireNonNull(imageTestsEnabled);
            return this;
        }
        @CustomType.Setter
        public Builder timeoutMinutes(Integer timeoutMinutes) {
            this.timeoutMinutes = Objects.requireNonNull(timeoutMinutes);
            return this;
        }
        public GetImagePipelineImageTestsConfiguration build() {
            final var o = new GetImagePipelineImageTestsConfiguration();
            o.imageTestsEnabled = imageTestsEnabled;
            o.timeoutMinutes = timeoutMinutes;
            return o;
        }
    }
}
