All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.scm.inputs.AntiSpywareSignatureDefaultActionBlockIpArgs Maven / Gradle / Ivy

There is a newer version: 0.2.0-alpha.1732774506
Show newest version
// *** 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.scm.inputs;

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


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

    public static final AntiSpywareSignatureDefaultActionBlockIpArgs Empty = new AntiSpywareSignatureDefaultActionBlockIpArgs();

    /**
     * The Duration param. Value must be between 1 and 3600.
     * 
     */
    @Import(name="duration")
    private @Nullable Output duration;

    /**
     * @return The Duration param. Value must be between 1 and 3600.
     * 
     */
    public Optional> duration() {
        return Optional.ofNullable(this.duration);
    }

    /**
     * The TrackBy param. String must be one of these: `"source-and-destination"`, `"source"`.
     * 
     */
    @Import(name="trackBy")
    private @Nullable Output trackBy;

    /**
     * @return The TrackBy param. String must be one of these: `"source-and-destination"`, `"source"`.
     * 
     */
    public Optional> trackBy() {
        return Optional.ofNullable(this.trackBy);
    }

    private AntiSpywareSignatureDefaultActionBlockIpArgs() {}

    private AntiSpywareSignatureDefaultActionBlockIpArgs(AntiSpywareSignatureDefaultActionBlockIpArgs $) {
        this.duration = $.duration;
        this.trackBy = $.trackBy;
    }

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

    public static final class Builder {
        private AntiSpywareSignatureDefaultActionBlockIpArgs $;

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

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

        /**
         * @param duration The Duration param. Value must be between 1 and 3600.
         * 
         * @return builder
         * 
         */
        public Builder duration(@Nullable Output duration) {
            $.duration = duration;
            return this;
        }

        /**
         * @param duration The Duration param. Value must be between 1 and 3600.
         * 
         * @return builder
         * 
         */
        public Builder duration(Integer duration) {
            return duration(Output.of(duration));
        }

        /**
         * @param trackBy The TrackBy param. String must be one of these: `"source-and-destination"`, `"source"`.
         * 
         * @return builder
         * 
         */
        public Builder trackBy(@Nullable Output trackBy) {
            $.trackBy = trackBy;
            return this;
        }

        /**
         * @param trackBy The TrackBy param. String must be one of these: `"source-and-destination"`, `"source"`.
         * 
         * @return builder
         * 
         */
        public Builder trackBy(String trackBy) {
            return trackBy(Output.of(trackBy));
        }

        public AntiSpywareSignatureDefaultActionBlockIpArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy