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

com.pulumi.azurenative.cloudngfw.outputs.GetPostRuleCountersResult Maven / Gradle / Ivy

There is a newer version: 2.82.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.azurenative.cloudngfw.outputs;

import com.pulumi.azurenative.cloudngfw.outputs.AppSeenDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetPostRuleCountersResult {
    /**
     * @return apps seen
     * 
     */
    private @Nullable AppSeenDataResponse appSeen;
    /**
     * @return firewall name
     * 
     */
    private @Nullable String firewallName;
    /**
     * @return hit count
     * 
     */
    private @Nullable Integer hitCount;
    /**
     * @return last updated timestamp
     * 
     */
    private @Nullable String lastUpdatedTimestamp;
    /**
     * @return priority number
     * 
     */
    private String priority;
    /**
     * @return timestamp of request
     * 
     */
    private @Nullable String requestTimestamp;
    /**
     * @return rule list name
     * 
     */
    private @Nullable String ruleListName;
    /**
     * @return rule name
     * 
     */
    private String ruleName;
    /**
     * @return rule Stack Name
     * 
     */
    private @Nullable String ruleStackName;
    /**
     * @return timestamp of response
     * 
     */
    private @Nullable String timestamp;

    private GetPostRuleCountersResult() {}
    /**
     * @return apps seen
     * 
     */
    public Optional appSeen() {
        return Optional.ofNullable(this.appSeen);
    }
    /**
     * @return firewall name
     * 
     */
    public Optional firewallName() {
        return Optional.ofNullable(this.firewallName);
    }
    /**
     * @return hit count
     * 
     */
    public Optional hitCount() {
        return Optional.ofNullable(this.hitCount);
    }
    /**
     * @return last updated timestamp
     * 
     */
    public Optional lastUpdatedTimestamp() {
        return Optional.ofNullable(this.lastUpdatedTimestamp);
    }
    /**
     * @return priority number
     * 
     */
    public String priority() {
        return this.priority;
    }
    /**
     * @return timestamp of request
     * 
     */
    public Optional requestTimestamp() {
        return Optional.ofNullable(this.requestTimestamp);
    }
    /**
     * @return rule list name
     * 
     */
    public Optional ruleListName() {
        return Optional.ofNullable(this.ruleListName);
    }
    /**
     * @return rule name
     * 
     */
    public String ruleName() {
        return this.ruleName;
    }
    /**
     * @return rule Stack Name
     * 
     */
    public Optional ruleStackName() {
        return Optional.ofNullable(this.ruleStackName);
    }
    /**
     * @return timestamp of response
     * 
     */
    public Optional timestamp() {
        return Optional.ofNullable(this.timestamp);
    }

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

    public static Builder builder(GetPostRuleCountersResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable AppSeenDataResponse appSeen;
        private @Nullable String firewallName;
        private @Nullable Integer hitCount;
        private @Nullable String lastUpdatedTimestamp;
        private String priority;
        private @Nullable String requestTimestamp;
        private @Nullable String ruleListName;
        private String ruleName;
        private @Nullable String ruleStackName;
        private @Nullable String timestamp;
        public Builder() {}
        public Builder(GetPostRuleCountersResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.appSeen = defaults.appSeen;
    	      this.firewallName = defaults.firewallName;
    	      this.hitCount = defaults.hitCount;
    	      this.lastUpdatedTimestamp = defaults.lastUpdatedTimestamp;
    	      this.priority = defaults.priority;
    	      this.requestTimestamp = defaults.requestTimestamp;
    	      this.ruleListName = defaults.ruleListName;
    	      this.ruleName = defaults.ruleName;
    	      this.ruleStackName = defaults.ruleStackName;
    	      this.timestamp = defaults.timestamp;
        }

        @CustomType.Setter
        public Builder appSeen(@Nullable AppSeenDataResponse appSeen) {

            this.appSeen = appSeen;
            return this;
        }
        @CustomType.Setter
        public Builder firewallName(@Nullable String firewallName) {

            this.firewallName = firewallName;
            return this;
        }
        @CustomType.Setter
        public Builder hitCount(@Nullable Integer hitCount) {

            this.hitCount = hitCount;
            return this;
        }
        @CustomType.Setter
        public Builder lastUpdatedTimestamp(@Nullable String lastUpdatedTimestamp) {

            this.lastUpdatedTimestamp = lastUpdatedTimestamp;
            return this;
        }
        @CustomType.Setter
        public Builder priority(String priority) {
            if (priority == null) {
              throw new MissingRequiredPropertyException("GetPostRuleCountersResult", "priority");
            }
            this.priority = priority;
            return this;
        }
        @CustomType.Setter
        public Builder requestTimestamp(@Nullable String requestTimestamp) {

            this.requestTimestamp = requestTimestamp;
            return this;
        }
        @CustomType.Setter
        public Builder ruleListName(@Nullable String ruleListName) {

            this.ruleListName = ruleListName;
            return this;
        }
        @CustomType.Setter
        public Builder ruleName(String ruleName) {
            if (ruleName == null) {
              throw new MissingRequiredPropertyException("GetPostRuleCountersResult", "ruleName");
            }
            this.ruleName = ruleName;
            return this;
        }
        @CustomType.Setter
        public Builder ruleStackName(@Nullable String ruleStackName) {

            this.ruleStackName = ruleStackName;
            return this;
        }
        @CustomType.Setter
        public Builder timestamp(@Nullable String timestamp) {

            this.timestamp = timestamp;
            return this;
        }
        public GetPostRuleCountersResult build() {
            final var _resultValue = new GetPostRuleCountersResult();
            _resultValue.appSeen = appSeen;
            _resultValue.firewallName = firewallName;
            _resultValue.hitCount = hitCount;
            _resultValue.lastUpdatedTimestamp = lastUpdatedTimestamp;
            _resultValue.priority = priority;
            _resultValue.requestTimestamp = requestTimestamp;
            _resultValue.ruleListName = ruleListName;
            _resultValue.ruleName = ruleName;
            _resultValue.ruleStackName = ruleStackName;
            _resultValue.timestamp = timestamp;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy