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

com.pulumi.scm.outputs.GetAntiSpywareSignatureDefaultActionBlockIp 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetAntiSpywareSignatureDefaultActionBlockIp {
    /**
     * @return The Duration param. Value must be between 1 and 3600.
     * 
     */
    private Integer duration;
    /**
     * @return The TrackBy param. String must be one of these: `"source-and-destination"`, `"source"`.
     * 
     */
    private String trackBy;

    private GetAntiSpywareSignatureDefaultActionBlockIp() {}
    /**
     * @return The Duration param. Value must be between 1 and 3600.
     * 
     */
    public Integer duration() {
        return this.duration;
    }
    /**
     * @return The TrackBy param. String must be one of these: `"source-and-destination"`, `"source"`.
     * 
     */
    public String trackBy() {
        return this.trackBy;
    }

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

    public static Builder builder(GetAntiSpywareSignatureDefaultActionBlockIp defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer duration;
        private String trackBy;
        public Builder() {}
        public Builder(GetAntiSpywareSignatureDefaultActionBlockIp defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.duration = defaults.duration;
    	      this.trackBy = defaults.trackBy;
        }

        @CustomType.Setter
        public Builder duration(Integer duration) {
            if (duration == null) {
              throw new MissingRequiredPropertyException("GetAntiSpywareSignatureDefaultActionBlockIp", "duration");
            }
            this.duration = duration;
            return this;
        }
        @CustomType.Setter
        public Builder trackBy(String trackBy) {
            if (trackBy == null) {
              throw new MissingRequiredPropertyException("GetAntiSpywareSignatureDefaultActionBlockIp", "trackBy");
            }
            this.trackBy = trackBy;
            return this;
        }
        public GetAntiSpywareSignatureDefaultActionBlockIp build() {
            final var _resultValue = new GetAntiSpywareSignatureDefaultActionBlockIp();
            _resultValue.duration = duration;
            _resultValue.trackBy = trackBy;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy