@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","SpecialTierIF"}) @Immutable public final class SpecialTier extends Object implements SpecialTierIF
SpecialTierIF.
Use the builder to create immutable instances:
SpecialTier.builder().
Use the static factory method to create immutable instances:
SpecialTier.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
SpecialTier.Builder
Builds instances of type
SpecialTier. |
| Modifier and Type | Method and Description |
|---|---|
static SpecialTier.Builder |
builder()
Creates a builder for
SpecialTier. |
static SpecialTier |
copyOf(SpecialTierIF instance)
Creates an immutable copy of a
SpecialTierIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SpecialTier that have equal attribute values. |
int |
getMinutelyAllowance() |
int |
hashCode()
Computes a hash code from attributes:
minutelyAllowance. |
static SpecialTier |
of(int minutelyAllowance)
Construct a new immutable
SpecialTier instance. |
String |
toString()
Prints the immutable value
SpecialTier with attribute values. |
SpecialTier |
withMinutelyAllowance(int minutelyAllowance)
Copy the current immutable object by setting a value for the
minutelyAllowance attribute. |
public int getMinutelyAllowance()
getMinutelyAllowance in interface RateLimitingTiergetMinutelyAllowance in interface SpecialTierIFminutelyAllowance attributepublic final SpecialTier withMinutelyAllowance(int minutelyAllowance)
minutelyAllowance attribute.
A value equality check is used to prevent copying of the same value by returning this.minutelyAllowance - A new value for minutelyAllowancethis objectpublic boolean equals(@Nullable Object another)
SpecialTier that have equal attribute values.public int hashCode()
minutelyAllowance.public String toString()
SpecialTier with attribute values.public static SpecialTier of(int minutelyAllowance)
SpecialTier instance.minutelyAllowance - The value for the minutelyAllowance attributepublic static SpecialTier copyOf(SpecialTierIF instance)
SpecialTierIF value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static SpecialTier.Builder builder()
SpecialTier.Copyright © 2019. All rights reserved.