sdk/java/src/main/java/com/pulumi/ovh/CloudProject/outputs/ContainerRegistryPlanFeature.java
// *** 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.ovh.CloudProject.outputs;

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

@CustomType
public final class ContainerRegistryPlanFeature {
    /**
     * @return Vulnerability scanning
     * 
     */
    private @Nullable Boolean vulnerability;

    private ContainerRegistryPlanFeature() {}
    /**
     * @return Vulnerability scanning
     * 
     */
    public Optional<Boolean> vulnerability() {
        return Optional.ofNullable(this.vulnerability);
    }

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

    public static Builder builder(ContainerRegistryPlanFeature defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean vulnerability;
        public Builder() {}
        public Builder(ContainerRegistryPlanFeature defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.vulnerability = defaults.vulnerability;
        }

        @CustomType.Setter
        public Builder vulnerability(@Nullable Boolean vulnerability) {
            this.vulnerability = vulnerability;
            return this;
        }
        public ContainerRegistryPlanFeature build() {
            final var o = new ContainerRegistryPlanFeature();
            o.vulnerability = vulnerability;
            return o;
        }
    }
}
