com.pulumi.aws.imagebuilder.outputs.GetImageImageTestsConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class GetImageImageTestsConfiguration {
/**
* @return Whether image tests are enabled.
*
*/
private Boolean imageTestsEnabled;
/**
* @return Number of minutes before image tests time out.
*
*/
private Integer timeoutMinutes;
private GetImageImageTestsConfiguration() {}
/**
* @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(GetImageImageTestsConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean imageTestsEnabled;
private Integer timeoutMinutes;
public Builder() {}
public Builder(GetImageImageTestsConfiguration defaults) {
Objects.requireNonNull(defaults);
this.imageTestsEnabled = defaults.imageTestsEnabled;
this.timeoutMinutes = defaults.timeoutMinutes;
}
@CustomType.Setter
public Builder imageTestsEnabled(Boolean imageTestsEnabled) {
if (imageTestsEnabled == null) {
throw new MissingRequiredPropertyException("GetImageImageTestsConfiguration", "imageTestsEnabled");
}
this.imageTestsEnabled = imageTestsEnabled;
return this;
}
@CustomType.Setter
public Builder timeoutMinutes(Integer timeoutMinutes) {
if (timeoutMinutes == null) {
throw new MissingRequiredPropertyException("GetImageImageTestsConfiguration", "timeoutMinutes");
}
this.timeoutMinutes = timeoutMinutes;
return this;
}
public GetImageImageTestsConfiguration build() {
final var _resultValue = new GetImageImageTestsConfiguration();
_resultValue.imageTestsEnabled = imageTestsEnabled;
_resultValue.timeoutMinutes = timeoutMinutes;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy