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

com.microsoft.azure.kusto.data.auth.endpoints.MatchRule Maven / Gradle / Ivy

There is a newer version: 5.2.0
Show newest version
package com.microsoft.azure.kusto.data.auth.endpoints;

public class MatchRule {
    /// 
    /// The suffix which the candidate must end with in order to match.
    /// 
    public final String suffix;

    /// 
    /// Indicates whether the match must be exact (the candidate must
    /// not have any prefix) or not.
    /// 
    public final Boolean exact;

    public int getSuffixLength() {
        return suffix == null ? 0 : suffix.length();
    }

    public MatchRule(String suffix, Boolean exact) {
        this.suffix = suffix;
        this.exact = exact;
    }

    /// 
    /// Clones this object.
    /// 
    public MatchRule clone() {
        return new MatchRule(suffix, exact);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy