Package com.flagright.api.types
Class Tag.Builder
- java.lang.Object
-
- com.flagright.api.types.Tag.Builder
-
- All Implemented Interfaces:
Tag._FinalStage,Tag.KeyStage,Tag.ValueStage
- Enclosing class:
- Tag
public static final class Tag.Builder extends java.lang.Object implements Tag.KeyStage, Tag.ValueStage, Tag._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tagbuild()Tag.Builderfrom(Tag other)Tag.ValueStagekey(java.lang.String key)Key value when you are creating a custom variableTag._FinalStagevalue(java.lang.String value)Value for a given key when you are creating a custom variable
-
-
-
Method Detail
-
from
public Tag.Builder from(Tag other)
- Specified by:
fromin interfaceTag.KeyStage
-
key
public Tag.ValueStage key(@NotNull java.lang.String key)
Key value when you are creating a custom variable
- Specified by:
keyin interfaceTag.KeyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
public Tag._FinalStage value(@NotNull java.lang.String value)
Value for a given key when you are creating a custom variable
- Specified by:
valuein interfaceTag.ValueStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public Tag build()
- Specified by:
buildin interfaceTag._FinalStage
-
-