// *** 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.azure.network.inputs;

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


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

    public static final NetworkWatcherFlowLogRetentionPolicyArgs Empty = new NetworkWatcherFlowLogRetentionPolicyArgs();

    /**
     * The number of days to retain flow log records.
     * 
     */
    @Import(name="days", required=true)
    private Output<Integer> days;

    /**
     * @return The number of days to retain flow log records.
     * 
     */
    public Output<Integer> days() {
        return this.days;
    }

    /**
     * Boolean flag to enable/disable retention.
     * 
     */
    @Import(name="enabled", required=true)
    private Output<Boolean> enabled;

    /**
     * @return Boolean flag to enable/disable retention.
     * 
     */
    public Output<Boolean> enabled() {
        return this.enabled;
    }

    private NetworkWatcherFlowLogRetentionPolicyArgs() {}

    private NetworkWatcherFlowLogRetentionPolicyArgs(NetworkWatcherFlowLogRetentionPolicyArgs $) {
        this.days = $.days;
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private NetworkWatcherFlowLogRetentionPolicyArgs $;

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

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

        /**
         * @param days The number of days to retain flow log records.
         * 
         * @return builder
         * 
         */
        public Builder days(Output<Integer> days) {
            $.days = days;
            return this;
        }

        /**
         * @param days The number of days to retain flow log records.
         * 
         * @return builder
         * 
         */
        public Builder days(Integer days) {
            return days(Output.of(days));
        }

        /**
         * @param enabled Boolean flag to enable/disable retention.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Output<Boolean> enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Boolean flag to enable/disable retention.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public NetworkWatcherFlowLogRetentionPolicyArgs build() {
            $.days = Objects.requireNonNull($.days, "expected parameter 'days' to be non-null");
            $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null");
            return $;
        }
    }

}
