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

com.pulumi.akamai.inputs.AppSecRuleUpgradeState Maven / Gradle / Ivy

The 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.akamai.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 AppSecRuleUpgradeState extends com.pulumi.resources.ResourceArgs {

    public static final AppSecRuleUpgradeState Empty = new AppSecRuleUpgradeState();

    /**
     * Unique identifier of the security configuration
     * 
     */
    @Import(name="configId")
    private @Nullable Output configId;

    /**
     * @return Unique identifier of the security configuration
     * 
     */
    public Optional> configId() {
        return Optional.ofNullable(this.configId);
    }

    /**
     * Versioning information for the current KRS rule set
     * 
     */
    @Import(name="currentRuleset")
    private @Nullable Output currentRuleset;

    /**
     * @return Versioning information for the current KRS rule set
     * 
     */
    public Optional> currentRuleset() {
        return Optional.ofNullable(this.currentRuleset);
    }

    /**
     * Whether an evaluation is currently in progress
     * 
     */
    @Import(name="evalStatus")
    private @Nullable Output evalStatus;

    /**
     * @return Whether an evaluation is currently in progress
     * 
     */
    public Optional> evalStatus() {
        return Optional.ofNullable(this.evalStatus);
    }

    /**
     * Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
     * 
     */
    @Import(name="mode")
    private @Nullable Output mode;

    /**
     * @return Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
     * 
     */
    public Optional> mode() {
        return Optional.ofNullable(this.mode);
    }

    /**
     * Unique identifier of the security policy
     * 
     */
    @Import(name="securityPolicyId")
    private @Nullable Output securityPolicyId;

    /**
     * @return Unique identifier of the security policy
     * 
     */
    public Optional> securityPolicyId() {
        return Optional.ofNullable(this.securityPolicyId);
    }

    /**
     * Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
     * 
     */
    @Import(name="upgradeMode")
    private @Nullable Output upgradeMode;

    /**
     * @return Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
     * 
     */
    public Optional> upgradeMode() {
        return Optional.ofNullable(this.upgradeMode);
    }

    private AppSecRuleUpgradeState() {}

    private AppSecRuleUpgradeState(AppSecRuleUpgradeState $) {
        this.configId = $.configId;
        this.currentRuleset = $.currentRuleset;
        this.evalStatus = $.evalStatus;
        this.mode = $.mode;
        this.securityPolicyId = $.securityPolicyId;
        this.upgradeMode = $.upgradeMode;
    }

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

    public static final class Builder {
        private AppSecRuleUpgradeState $;

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

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

        /**
         * @param configId Unique identifier of the security configuration
         * 
         * @return builder
         * 
         */
        public Builder configId(@Nullable Output configId) {
            $.configId = configId;
            return this;
        }

        /**
         * @param configId Unique identifier of the security configuration
         * 
         * @return builder
         * 
         */
        public Builder configId(Integer configId) {
            return configId(Output.of(configId));
        }

        /**
         * @param currentRuleset Versioning information for the current KRS rule set
         * 
         * @return builder
         * 
         */
        public Builder currentRuleset(@Nullable Output currentRuleset) {
            $.currentRuleset = currentRuleset;
            return this;
        }

        /**
         * @param currentRuleset Versioning information for the current KRS rule set
         * 
         * @return builder
         * 
         */
        public Builder currentRuleset(String currentRuleset) {
            return currentRuleset(Output.of(currentRuleset));
        }

        /**
         * @param evalStatus Whether an evaluation is currently in progress
         * 
         * @return builder
         * 
         */
        public Builder evalStatus(@Nullable Output evalStatus) {
            $.evalStatus = evalStatus;
            return this;
        }

        /**
         * @param evalStatus Whether an evaluation is currently in progress
         * 
         * @return builder
         * 
         */
        public Builder evalStatus(String evalStatus) {
            return evalStatus(Output.of(evalStatus));
        }

        /**
         * @param mode Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
         * 
         * @return builder
         * 
         */
        public Builder mode(@Nullable Output mode) {
            $.mode = mode;
            return this;
        }

        /**
         * @param mode Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
         * 
         * @return builder
         * 
         */
        public Builder mode(String mode) {
            return mode(Output.of(mode));
        }

        /**
         * @param securityPolicyId Unique identifier of the security policy
         * 
         * @return builder
         * 
         */
        public Builder securityPolicyId(@Nullable Output securityPolicyId) {
            $.securityPolicyId = securityPolicyId;
            return this;
        }

        /**
         * @param securityPolicyId Unique identifier of the security policy
         * 
         * @return builder
         * 
         */
        public Builder securityPolicyId(String securityPolicyId) {
            return securityPolicyId(Output.of(securityPolicyId));
        }

        /**
         * @param upgradeMode Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
         * 
         * @return builder
         * 
         */
        public Builder upgradeMode(@Nullable Output upgradeMode) {
            $.upgradeMode = upgradeMode;
            return this;
        }

        /**
         * @param upgradeMode Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
         * 
         * @return builder
         * 
         */
        public Builder upgradeMode(String upgradeMode) {
            return upgradeMode(Output.of(upgradeMode));
        }

        public AppSecRuleUpgradeState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy