com.pulumi.aws.imagebuilder.outputs.GetDistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfiguration 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.aws.imagebuilder.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class GetDistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfiguration {
/**
* @return The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
*
*/
private Integer targetResourceCount;
private GetDistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfiguration() {}
/**
* @return The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
*
*/
public Integer targetResourceCount() {
return this.targetResourceCount;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer targetResourceCount;
public Builder() {}
public Builder(GetDistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfiguration defaults) {
Objects.requireNonNull(defaults);
this.targetResourceCount = defaults.targetResourceCount;
}
@CustomType.Setter
public Builder targetResourceCount(Integer targetResourceCount) {
if (targetResourceCount == null) {
throw new MissingRequiredPropertyException("GetDistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfiguration", "targetResourceCount");
}
this.targetResourceCount = targetResourceCount;
return this;
}
public GetDistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfiguration build() {
final var _resultValue = new GetDistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfiguration();
_resultValue.targetResourceCount = targetResourceCount;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy