Class V1alpha2StructuredResourceHandle
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2StructuredResourceHandle
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1alpha2StructuredResourceHandle
extends Object
StructuredResourceHandle is the in-tree representation of the allocation result.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResultsItem
(V1alpha2DriverAllocationResult resultsItem) boolean
Create an instance of V1alpha2StructuredResourceHandle given an JSON stringNodeName is the name of the node providing the necessary resources if the resources are local to a node.Results lists all allocated driver resources.VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated.VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated.int
hashCode()
results
(List<V1alpha2DriverAllocationResult> results) void
setNodeName
(String nodeName) void
setResults
(List<V1alpha2DriverAllocationResult> results) void
setVendorClaimParameters
(Object vendorClaimParameters) void
setVendorClassParameters
(Object vendorClassParameters) toJson()
Convert an instance of V1alpha2StructuredResourceHandle to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundvendorClaimParameters
(Object vendorClaimParameters) vendorClassParameters
(Object vendorClassParameters)
-
Field Details
-
SERIALIZED_NAME_NODE_NAME
- See Also:
-
SERIALIZED_NAME_RESULTS
- See Also:
-
SERIALIZED_NAME_VENDOR_CLAIM_PARAMETERS
- See Also:
-
SERIALIZED_NAME_VENDOR_CLASS_PARAMETERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha2StructuredResourceHandle
public V1alpha2StructuredResourceHandle()
-
-
Method Details
-
nodeName
-
getNodeName
NodeName is the name of the node providing the necessary resources if the resources are local to a node.- Returns:
- nodeName
-
setNodeName
-
results
-
addResultsItem
-
getResults
Results lists all allocated driver resources.- Returns:
- results
-
setResults
-
vendorClaimParameters
-
getVendorClaimParameters
VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated.- Returns:
- vendorClaimParameters
-
setVendorClaimParameters
-
vendorClassParameters
-
getVendorClassParameters
VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated.- Returns:
- vendorClassParameters
-
setVendorClassParameters
-
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 V1alpha2StructuredResourceHandle
-
fromJson
Create an instance of V1alpha2StructuredResourceHandle given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha2StructuredResourceHandle
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha2StructuredResourceHandle
-
toJson
Convert an instance of V1alpha2StructuredResourceHandle to an JSON string- Returns:
- JSON string
-