Class V1alpha2ResourceClass
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2ResourceClass
- All Implemented Interfaces:
KubernetesObject,KubernetesType
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1alpha2ResourceClass
extends Object
implements KubernetesObject
ResourceClass is used by administrators to influence how resources are allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiVersion(String apiVersion) driverName(String driverName) booleanAPIVersion defines the versioned schema of this representation of an object.DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.getKind()Kind is a string value representing the REST resource this object represents.Get metadataGet parametersRefGet suitableNodesinthashCode()metadata(V1ObjectMeta metadata) parametersRef(V1alpha2ResourceClassParametersReference parametersRef) voidsetApiVersion(String apiVersion) voidsetDriverName(String driverName) voidvoidsetMetadata(V1ObjectMeta metadata) voidsetParametersRef(V1alpha2ResourceClassParametersReference parametersRef) voidsetSuitableNodes(V1NodeSelector suitableNodes) suitableNodes(V1NodeSelector suitableNodes) toString()
-
Field Details
-
SERIALIZED_NAME_API_VERSION
- See Also:
-
SERIALIZED_NAME_DRIVER_NAME
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
SERIALIZED_NAME_PARAMETERS_REF
- See Also:
-
SERIALIZED_NAME_SUITABLE_NODES
- See Also:
-
-
Constructor Details
-
V1alpha2ResourceClass
public V1alpha2ResourceClass()
-
-
Method Details
-
apiVersion
-
getApiVersion
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Specified by:
getApiVersionin interfaceKubernetesType- Returns:
- apiVersion
-
setApiVersion
-
driverName
-
getDriverName
DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class. Resource drivers have a unique name in forward domain order (acme.example.com).- Returns:
- driverName
-
setDriverName
-
kind
-
getKind
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Specified by:
getKindin interfaceKubernetesType- Returns:
- kind
-
setKind
-
metadata
-
getMetadata
Get metadata- Specified by:
getMetadatain interfaceKubernetesObject- Returns:
- metadata
-
setMetadata
-
parametersRef
-
getParametersRef
Get parametersRef- Returns:
- parametersRef
-
setParametersRef
-
suitableNodes
-
getSuitableNodes
Get suitableNodes- Returns:
- suitableNodes
-
setSuitableNodes
-
equals
-
hashCode
public int hashCode() -
toString
-