Class V1beta3PriorityLevelConfigurationSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1beta3PriorityLevelConfigurationSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1beta3PriorityLevelConfigurationSpec
extends Object
PriorityLevelConfigurationSpec specifies the configuration of a priority level.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1beta3PriorityLevelConfigurationSpec given an JSON stringGet exemptGet limitedgetType()
`type` indicates whether this priority level is subject to limitation on request execution.int
hashCode()
void
void
void
toJson()
Convert an instance of V1beta3PriorityLevelConfigurationSpec to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_EXEMPT
- See Also:
-
SERIALIZED_NAME_LIMITED
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta3PriorityLevelConfigurationSpec
public V1beta3PriorityLevelConfigurationSpec()
-
-
Method Details
-
exempt
-
getExempt
Get exempt- Returns:
- exempt
-
setExempt
-
limited
public V1beta3PriorityLevelConfigurationSpec limited(V1beta3LimitedPriorityLevelConfiguration limited) -
getLimited
Get limited- Returns:
- limited
-
setLimited
-
type
-
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.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1beta3PriorityLevelConfigurationSpec
-
fromJson
Create an instance of V1beta3PriorityLevelConfigurationSpec given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1beta3PriorityLevelConfigurationSpec
- Throws:
IOException
- if the JSON string is invalid with respect to V1beta3PriorityLevelConfigurationSpec
-
toJson
Convert an instance of V1beta3PriorityLevelConfigurationSpec to an JSON string- Returns:
- JSON string
-