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

com.pulumi.f5bigip.ssl.outputs.GetWafPolicyResult Maven / Gradle / Ivy

// *** 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.f5bigip.ssl.outputs;

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

@CustomType
public final class GetWafPolicyResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String policyId;
    /**
     * @return Exported WAF policy JSON
     * 
     */
    private String policyJson;

    private GetWafPolicyResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String policyId() {
        return this.policyId;
    }
    /**
     * @return Exported WAF policy JSON
     * 
     */
    public String policyJson() {
        return this.policyJson;
    }

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

    public static Builder builder(GetWafPolicyResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String policyId;
        private String policyJson;
        public Builder() {}
        public Builder(GetWafPolicyResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.policyId = defaults.policyId;
    	      this.policyJson = defaults.policyJson;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetWafPolicyResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder policyId(String policyId) {
            if (policyId == null) {
              throw new MissingRequiredPropertyException("GetWafPolicyResult", "policyId");
            }
            this.policyId = policyId;
            return this;
        }
        @CustomType.Setter
        public Builder policyJson(String policyJson) {
            if (policyJson == null) {
              throw new MissingRequiredPropertyException("GetWafPolicyResult", "policyJson");
            }
            this.policyJson = policyJson;
            return this;
        }
        public GetWafPolicyResult build() {
            final var _resultValue = new GetWafPolicyResult();
            _resultValue.id = id;
            _resultValue.policyId = policyId;
            _resultValue.policyJson = policyJson;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy