@NotThreadSafe public static final class SpecialTier.Builder extends Object
SpecialTier.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
SpecialTier |
build()
Builds a new
SpecialTier. |
SpecialTier.Builder |
from(RateLimitingTier instance)
Fill a builder with attribute values from the provided
com.hubspot.slack.client.methods.RateLimitingTier instance. |
SpecialTier.Builder |
from(SpecialTierIF instance)
Fill a builder with attribute values from the provided
com.hubspot.slack.client.methods.SpecialTierIF instance. |
SpecialTier.Builder |
setMinutelyAllowance(int minutelyAllowance)
Initializes the value for the
minutelyAllowance attribute. |
public final SpecialTier.Builder from(SpecialTierIF instance)
com.hubspot.slack.client.methods.SpecialTierIF instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final SpecialTier.Builder from(RateLimitingTier instance)
com.hubspot.slack.client.methods.RateLimitingTier instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final SpecialTier.Builder setMinutelyAllowance(int minutelyAllowance)
minutelyAllowance attribute.minutelyAllowance - The value for minutelyAllowancethis builder for use in a chained invocationpublic SpecialTier build() throws com.hubspot.immutables.validation.InvalidImmutableStateException
SpecialTier.com.hubspot.immutables.validation.InvalidImmutableStateException - if any required attributes are missingCopyright © 2019. All rights reserved.