Class PriorityLevelConfigurationSpec
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationSpec
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class PriorityLevelConfigurationSpec extends java.lang.Object implements com.marcnuri.yakc.model.Model
PriorityLevelConfigurationSpec specifies the configuration of a priority level.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PriorityLevelConfigurationSpec.Builder
-
Constructor Summary
Constructors Constructor Description PriorityLevelConfigurationSpec()
PriorityLevelConfigurationSpec(ExemptPriorityLevelConfiguration exempt, LimitedPriorityLevelConfiguration limited, @NonNull java.lang.String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PriorityLevelConfigurationSpec.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
ExemptPriorityLevelConfiguration
getExempt()
LimitedPriorityLevelConfiguration
getLimited()
@NonNull java.lang.String
getType()
`type` indicates whether this priority level is subject to limitation on request execution.int
hashCode()
void
setExempt(ExemptPriorityLevelConfiguration exempt)
void
setLimited(LimitedPriorityLevelConfiguration limited)
void
setType(@NonNull java.lang.String type)
`type` indicates whether this priority level is subject to limitation on request execution.PriorityLevelConfigurationSpec.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
PriorityLevelConfigurationSpec
public PriorityLevelConfigurationSpec(ExemptPriorityLevelConfiguration exempt, LimitedPriorityLevelConfiguration limited, @NonNull @NonNull java.lang.String type)
-
PriorityLevelConfigurationSpec
public PriorityLevelConfigurationSpec()
-
-
Method Detail
-
builder
public static PriorityLevelConfigurationSpec.Builder builder()
-
toBuilder
public PriorityLevelConfigurationSpec.Builder toBuilder()
-
getExempt
public ExemptPriorityLevelConfiguration getExempt()
-
getLimited
public LimitedPriorityLevelConfiguration getLimited()
-
getType
@NonNull public @NonNull java.lang.String getType()
`type` indicates whether this priority level is subject to limitation on request execution. A value of `"Exempt"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `"Limited"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.
-
setExempt
public void setExempt(ExemptPriorityLevelConfiguration exempt)
-
setLimited
public void setLimited(LimitedPriorityLevelConfiguration limited)
-
setType
public void setType(@NonNull @NonNull java.lang.String type)
`type` indicates whether this priority level is subject to limitation on request execution. A value of `"Exempt"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `"Limited"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-