Class QuotaFluentImpl<A extends QuotaFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- me.snowdrop.istio.mixer.adapter.redisquota.QuotaFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,QuotaFluent<A>
- Direct Known Subclasses:
QuotaBuilder,RedisquotaFluentImpl.QuotasNestedImpl
public class QuotaFluentImpl<A extends QuotaFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements QuotaFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classQuotaFluentImpl.OverridesNestedImpl<N>-
Nested classes/interfaces inherited from interface me.snowdrop.istio.mixer.adapter.redisquota.QuotaFluent
QuotaFluent.OverridesNested<N>
-
-
Constructor Summary
Constructors Constructor Description QuotaFluentImpl()QuotaFluentImpl(Quota instance)
-
Method Summary
-
-
-
Constructor Detail
-
QuotaFluentImpl
public QuotaFluentImpl()
-
QuotaFluentImpl
public QuotaFluentImpl(Quota instance)
-
-
Method Detail
-
getBucketDuration
public Integer getBucketDuration()
- Specified by:
getBucketDurationin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
withBucketDuration
public A withBucketDuration(Integer bucketDuration)
- Specified by:
withBucketDurationin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
hasBucketDuration
public Boolean hasBucketDuration()
- Specified by:
hasBucketDurationin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
getMaxAmount
public Integer getMaxAmount()
- Specified by:
getMaxAmountin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
withMaxAmount
public A withMaxAmount(Integer maxAmount)
- Specified by:
withMaxAmountin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
hasMaxAmount
public Boolean hasMaxAmount()
- Specified by:
hasMaxAmountin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
getName
public String getName()
- Specified by:
getNamein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
withName
public A withName(String name)
- Specified by:
withNamein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
hasName
public Boolean hasName()
- Specified by:
hasNamein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
withNewName
public A withNewName(String arg1)
- Specified by:
withNewNamein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
withNewName
public A withNewName(StringBuilder arg1)
- Specified by:
withNewNamein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
withNewName
public A withNewName(StringBuffer arg1)
- Specified by:
withNewNamein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
addToOverrides
public A addToOverrides(int index, Override item)
- Specified by:
addToOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
setToOverrides
public A setToOverrides(int index, Override item)
- Specified by:
setToOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
addToOverrides
public A addToOverrides(Override... items)
- Specified by:
addToOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
addAllToOverrides
public A addAllToOverrides(Collection<Override> items)
- Specified by:
addAllToOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
removeFromOverrides
public A removeFromOverrides(Override... items)
- Specified by:
removeFromOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
removeAllFromOverrides
public A removeAllFromOverrides(Collection<Override> items)
- Specified by:
removeAllFromOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
removeMatchingFromOverrides
public A removeMatchingFromOverrides(Predicate<OverrideBuilder> predicate)
- Specified by:
removeMatchingFromOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
getOverrides
@Deprecated public List<Override> getOverrides()
Deprecated.This method has been deprecated, please use method buildOverrides instead.- Specified by:
getOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>- Returns:
- The buildable object.
-
buildOverrides
public List<Override> buildOverrides()
- Specified by:
buildOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
buildOverride
public Override buildOverride(int index)
- Specified by:
buildOverridein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
buildFirstOverride
public Override buildFirstOverride()
- Specified by:
buildFirstOverridein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
buildLastOverride
public Override buildLastOverride()
- Specified by:
buildLastOverridein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
buildMatchingOverride
public Override buildMatchingOverride(Predicate<OverrideBuilder> predicate)
- Specified by:
buildMatchingOverridein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
hasMatchingOverride
public Boolean hasMatchingOverride(Predicate<OverrideBuilder> predicate)
- Specified by:
hasMatchingOverridein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
withOverrides
public A withOverrides(List<Override> overrides)
- Specified by:
withOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
withOverrides
public A withOverrides(Override... overrides)
- Specified by:
withOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
hasOverrides
public Boolean hasOverrides()
- Specified by:
hasOverridesin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
addNewOverride
public QuotaFluent.OverridesNested<A> addNewOverride()
- Specified by:
addNewOverridein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
addNewOverrideLike
public QuotaFluent.OverridesNested<A> addNewOverrideLike(Override item)
- Specified by:
addNewOverrideLikein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
setNewOverrideLike
public QuotaFluent.OverridesNested<A> setNewOverrideLike(int index, Override item)
- Specified by:
setNewOverrideLikein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
editOverride
public QuotaFluent.OverridesNested<A> editOverride(int index)
- Specified by:
editOverridein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
editFirstOverride
public QuotaFluent.OverridesNested<A> editFirstOverride()
- Specified by:
editFirstOverridein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
editLastOverride
public QuotaFluent.OverridesNested<A> editLastOverride()
- Specified by:
editLastOverridein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
editMatchingOverride
public QuotaFluent.OverridesNested<A> editMatchingOverride(Predicate<OverrideBuilder> predicate)
- Specified by:
editMatchingOverridein interfaceQuotaFluent<A extends QuotaFluent<A>>
-
getRateLimitAlgorithm
public QuotaAlgorithm getRateLimitAlgorithm()
- Specified by:
getRateLimitAlgorithmin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
withRateLimitAlgorithm
public A withRateLimitAlgorithm(QuotaAlgorithm rateLimitAlgorithm)
- Specified by:
withRateLimitAlgorithmin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
hasRateLimitAlgorithm
public Boolean hasRateLimitAlgorithm()
- Specified by:
hasRateLimitAlgorithmin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
getValidDuration
public Integer getValidDuration()
- Specified by:
getValidDurationin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
withValidDuration
public A withValidDuration(Integer validDuration)
- Specified by:
withValidDurationin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
hasValidDuration
public Boolean hasValidDuration()
- Specified by:
hasValidDurationin interfaceQuotaFluent<A extends QuotaFluent<A>>
-
-