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 defaultPartitionTypeAttribute, String driver, Integer limit, String poolName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourcePoolStatusRequestSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDefaultPartitionTypeAttribute()DefaultPartitionTypeAttribute optionally names a device attribute (by its fully qualified name, e.g.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)voidsetDefaultPartitionTypeAttribute(String defaultPartitionTypeAttribute)DefaultPartitionTypeAttribute optionally names a device attribute (by its fully qualified name, e.g.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
-
getDefaultPartitionTypeAttribute
public String getDefaultPartitionTypeAttribute()
DefaultPartitionTypeAttribute optionally names a device attribute (by its fully qualified name, e.g. "gpu.example.com/profile") to use as the default grouping attribute for partitionable devices whose slice has not declared one themselves.A slice's own PartitionTypeAttribute always takes precedence. This default applies only to devices whose slice does not declare one, so that a request can still get an accurate partitionSummary from a driver that has not been updated to declare it. When neither the slice nor this default names an attribute, a partitionable pool reports no partitionSummary.
Must include the domain qualifier.
-
setDefaultPartitionTypeAttribute
public void setDefaultPartitionTypeAttribute(String defaultPartitionTypeAttribute)
DefaultPartitionTypeAttribute optionally names a device attribute (by its fully qualified name, e.g. "gpu.example.com/profile") to use as the default grouping attribute for partitionable devices whose slice has not declared one themselves.A slice's own PartitionTypeAttribute always takes precedence. This default applies only to devices whose slice does not declare one, so that a request can still get an accurate partitionSummary from a driver that has not been updated to declare it. When neither the slice nor this default names an attribute, a partitionable pool reports no partitionSummary.
Must include the domain qualifier.
-
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()
-
-