Package com.github.twitch4j.chat.flag
Class AutoModFlag.AutoModFlagBuilder
java.lang.Object
com.github.twitch4j.chat.flag.AutoModFlag.AutoModFlagBuilder
- Enclosing class:
- AutoModFlag
public static class AutoModFlag.AutoModFlagBuilder
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description AutoModFlagbuild()AutoModFlag.AutoModFlagBuilderclearScores()AutoModFlag.AutoModFlagBuilderendIndex(int endIndex)The index where the flagged item ends.AutoModFlag.AutoModFlagBuilderscore(FlagType scoreKey, java.lang.Integer scoreValue)AutoModFlag.AutoModFlagBuilderscores(java.util.Map<? extends FlagType,? extends java.lang.Integer> scores)AutoModFlag.AutoModFlagBuilderstartIndex(int startIndex)The index in the message where the flagged item starts.java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Method Details
-
startIndex
The index in the message where the flagged item starts.- Returns:
this.
-
endIndex
The index where the flagged item ends.- Returns:
this.
-
score
-
scores
public AutoModFlag.AutoModFlagBuilder scores(java.util.Map<? extends FlagType,? extends java.lang.Integer> scores) -
clearScores
-
build
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-