com.microsoft.azure.kusto.data.auth.endpoints.MatchRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kusto-data Show documentation
Show all versions of kusto-data Show documentation
Kusto client library for executing queries and retrieving data
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