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

com.pulumi.cloudflare.outputs.TeamsRuleRuleSettingsCheckSession Maven / Gradle / Ivy

There is a newer version: 5.39.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.cloudflare.outputs;

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

@CustomType
public final class TeamsRuleRuleSettingsCheckSession {
    /**
     * @return Configure how fresh the session needs to be to be considered valid.
     * 
     */
    private String duration;
    /**
     * @return Enable session enforcement for this rule.
     * 
     */
    private Boolean enforce;

    private TeamsRuleRuleSettingsCheckSession() {}
    /**
     * @return Configure how fresh the session needs to be to be considered valid.
     * 
     */
    public String duration() {
        return this.duration;
    }
    /**
     * @return Enable session enforcement for this rule.
     * 
     */
    public Boolean enforce() {
        return this.enforce;
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy