Class DeviceClaim
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.DeviceClaim
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeviceClaimBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeviceClaim extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeviceClaimBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
DeviceClaim defines how to request devices with a ResourceClaim.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceClaim()No args constructor for use in serializationDeviceClaim(List<DeviceClaimConfiguration> config, List<DeviceConstraint> constraints, List<DeviceRequest> requests)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceClaimBuilderedit()Map<String,Object>getAdditionalProperties()List<DeviceClaimConfiguration>getConfig()This field holds configuration for multiple potential drivers which could satisfy requests in this claim.List<DeviceConstraint>getConstraints()These constraints must be satisfied by the set of devices that get allocated for the claim.List<DeviceRequest>getRequests()Requests represent individual requests for distinct devices which must all be satisfied.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConfig(List<DeviceClaimConfiguration> config)This field holds configuration for multiple potential drivers which could satisfy requests in this claim.voidsetConstraints(List<DeviceConstraint> constraints)These constraints must be satisfied by the set of devices that get allocated for the claim.voidsetRequests(List<DeviceRequest> requests)Requests represent individual requests for distinct devices which must all be satisfied.DeviceClaimBuildertoBuilder()
-
-
-
Constructor Detail
-
DeviceClaim
public DeviceClaim()
No args constructor for use in serialization
-
DeviceClaim
public DeviceClaim(List<DeviceClaimConfiguration> config, List<DeviceConstraint> constraints, List<DeviceRequest> requests)
-
-
Method Detail
-
getConfig
public List<DeviceClaimConfiguration> getConfig()
This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.
-
setConfig
public void setConfig(List<DeviceClaimConfiguration> config)
This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.
-
getConstraints
public List<DeviceConstraint> getConstraints()
These constraints must be satisfied by the set of devices that get allocated for the claim.
-
setConstraints
public void setConstraints(List<DeviceConstraint> constraints)
These constraints must be satisfied by the set of devices that get allocated for the claim.
-
getRequests
public List<DeviceRequest> getRequests()
Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.
-
setRequests
public void setRequests(List<DeviceRequest> requests)
Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.
-
edit
public DeviceClaimBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeviceClaimBuilder>
-
toBuilder
public DeviceClaimBuilder toBuilder()
-
-