Interface ImmutableCooldown.BuildFinal<C>
- All Known Implementing Classes:
ImmutableCooldown.Builder
- Enclosing class:
- ImmutableCooldown<C>
public static interface ImmutableCooldown.BuildFinal<C>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableCooldown.group(@Nullable CooldownGroup group) Initializes the value for thegroupattribute.
-
Method Details
-
group
Initializes the value for thegroupattribute.If not set, this attribute will have a default value as returned by the initializer of
group.- Parameters:
group- The value for group (can benull)- Returns:
thisbuilder for use in a chained invocation
-
build
ImmutableCooldown<C> build()Builds a newImmutableCooldown.- Returns:
- An immutable instance of Cooldown
- Throws:
IllegalStateException- if any required attributes are missing
-