sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/ContainerRegistryPlanFeatureArgs.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.inputs;

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


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

    public static final ContainerRegistryPlanFeatureArgs Empty = new ContainerRegistryPlanFeatureArgs();

    /**
     * Vulnerability scanning
     * 
     */
    @Import(name="vulnerability")
    private @Nullable Output<Boolean> vulnerability;

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

    private ContainerRegistryPlanFeatureArgs() {}

    private ContainerRegistryPlanFeatureArgs(ContainerRegistryPlanFeatureArgs $) {
        this.vulnerability = $.vulnerability;
    }

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

    public static final class Builder {
        private ContainerRegistryPlanFeatureArgs $;

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

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

        /**
         * @param vulnerability Vulnerability scanning
         * 
         * @return builder
         * 
         */
        public Builder vulnerability(@Nullable Output<Boolean> vulnerability) {
            $.vulnerability = vulnerability;
            return this;
        }

        /**
         * @param vulnerability Vulnerability scanning
         * 
         * @return builder
         * 
         */
        public Builder vulnerability(Boolean vulnerability) {
            return vulnerability(Output.of(vulnerability));
        }

        public ContainerRegistryPlanFeatureArgs build() {
            return $;
        }
    }

}
