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

com.pulumi.scm.outputs.GetAntiSpywareProfileThreatException Maven / Gradle / Ivy

There is a newer version: 0.2.0
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 com.pulumi.scm.outputs.GetAntiSpywareProfileThreatExceptionAction;
import com.pulumi.scm.outputs.GetAntiSpywareProfileThreatExceptionExemptIp;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetAntiSpywareProfileThreatException {
    /**
     * @return The Action param.
     * 
     */
    private GetAntiSpywareProfileThreatExceptionAction action;
    /**
     * @return The ExemptIps param.
     * 
     */
    private List exemptIps;
    /**
     * @return The Name param.
     * 
     */
    private String name;
    /**
     * @return The Notes param.
     * 
     */
    private String notes;
    /**
     * @return The PacketCapture param. String must be one of these: `"disable"`, `"single-packet"`, `"extended-capture"`.
     * 
     */
    private String packetCapture;

    private GetAntiSpywareProfileThreatException() {}
    /**
     * @return The Action param.
     * 
     */
    public GetAntiSpywareProfileThreatExceptionAction action() {
        return this.action;
    }
    /**
     * @return The ExemptIps param.
     * 
     */
    public List exemptIps() {
        return this.exemptIps;
    }
    /**
     * @return The Name param.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The Notes param.
     * 
     */
    public String notes() {
        return this.notes;
    }
    /**
     * @return The PacketCapture param. String must be one of these: `"disable"`, `"single-packet"`, `"extended-capture"`.
     * 
     */
    public String packetCapture() {
        return this.packetCapture;
    }

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

    public static Builder builder(GetAntiSpywareProfileThreatException defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private GetAntiSpywareProfileThreatExceptionAction action;
        private List exemptIps;
        private String name;
        private String notes;
        private String packetCapture;
        public Builder() {}
        public Builder(GetAntiSpywareProfileThreatException defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.action = defaults.action;
    	      this.exemptIps = defaults.exemptIps;
    	      this.name = defaults.name;
    	      this.notes = defaults.notes;
    	      this.packetCapture = defaults.packetCapture;
        }

        @CustomType.Setter
        public Builder action(GetAntiSpywareProfileThreatExceptionAction action) {
            if (action == null) {
              throw new MissingRequiredPropertyException("GetAntiSpywareProfileThreatException", "action");
            }
            this.action = action;
            return this;
        }
        @CustomType.Setter
        public Builder exemptIps(List exemptIps) {
            if (exemptIps == null) {
              throw new MissingRequiredPropertyException("GetAntiSpywareProfileThreatException", "exemptIps");
            }
            this.exemptIps = exemptIps;
            return this;
        }
        public Builder exemptIps(GetAntiSpywareProfileThreatExceptionExemptIp... exemptIps) {
            return exemptIps(List.of(exemptIps));
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetAntiSpywareProfileThreatException", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder notes(String notes) {
            if (notes == null) {
              throw new MissingRequiredPropertyException("GetAntiSpywareProfileThreatException", "notes");
            }
            this.notes = notes;
            return this;
        }
        @CustomType.Setter
        public Builder packetCapture(String packetCapture) {
            if (packetCapture == null) {
              throw new MissingRequiredPropertyException("GetAntiSpywareProfileThreatException", "packetCapture");
            }
            this.packetCapture = packetCapture;
            return this;
        }
        public GetAntiSpywareProfileThreatException build() {
            final var _resultValue = new GetAntiSpywareProfileThreatException();
            _resultValue.action = action;
            _resultValue.exemptIps = exemptIps;
            _resultValue.name = name;
            _resultValue.notes = notes;
            _resultValue.packetCapture = packetCapture;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy