Class ResourcePoolStatusRequestSpec
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.ResourcePoolStatusRequestSpec
-
- All Implemented Interfaces:
Editable<ResourcePoolStatusRequestSpecBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ResourcePoolStatusRequestSpec extends Object implements Editable<ResourcePoolStatusRequestSpecBuilder>, KubernetesResource
ResourcePoolStatusRequestSpec defines the filters for the pool status request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourcePoolStatusRequestSpec()No args constructor for use in serializationResourcePoolStatusRequestSpec(String driver, Integer limit, String poolName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourcePoolStatusRequestSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDriver()Driver specifies the DRA driver name to filter pools.IntegergetLimit()Limit optionally specifies the maximum number of pools to return in the status.StringgetPoolName()PoolName optionally filters to a specific pool name.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDriver(String driver)Driver specifies the DRA driver name to filter pools.voidsetLimit(Integer limit)Limit optionally specifies the maximum number of pools to return in the status.voidsetPoolName(String poolName)PoolName optionally filters to a specific pool name.ResourcePoolStatusRequestSpecBuildertoBuilder()
-
-
-
Method Detail
-
getDriver
public String getDriver()
Driver specifies the DRA driver name to filter pools. Only pools from ResourceSlices with this driver will be included. Must be a DNS subdomain (e.g., "gpu.example.com").
-
setDriver
public void setDriver(String driver)
Driver specifies the DRA driver name to filter pools. Only pools from ResourceSlices with this driver will be included. Must be a DNS subdomain (e.g., "gpu.example.com").
-
getLimit
public Integer getLimit()
Limit optionally specifies the maximum number of pools to return in the status. If more pools match the filter criteria, the response will be truncated (i.e., len(status.pools) < status.poolCount).Default: 100 Minimum: 1 Maximum: 1000
-
setLimit
public void setLimit(Integer limit)
Limit optionally specifies the maximum number of pools to return in the status. If more pools match the filter criteria, the response will be truncated (i.e., len(status.pools) < status.poolCount).Default: 100 Minimum: 1 Maximum: 1000
-
getPoolName
public String getPoolName()
PoolName optionally filters to a specific pool name. If not specified, all pools from the specified driver are included. When specified, must be a non-empty valid resource pool name (DNS subdomains separated by "/").
-
setPoolName
public void setPoolName(String poolName)
PoolName optionally filters to a specific pool name. If not specified, all pools from the specified driver are included. When specified, must be a non-empty valid resource pool name (DNS subdomains separated by "/").
-
edit
public ResourcePoolStatusRequestSpecBuilder edit()
- Specified by:
editin interfaceEditable<ResourcePoolStatusRequestSpecBuilder>
-
toBuilder
public ResourcePoolStatusRequestSpecBuilder toBuilder()
-
-