Class V1alpha3DeviceAllocationConfiguration
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3DeviceAllocationConfiguration
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha3DeviceAllocationConfiguration
extends Object
DeviceAllocationConfiguration gets embedded in an AllocationResult.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddRequestsItem(String requestsItem) Add an item to the requests property in a chainable fashion.booleanRequests lists the names of requests where the configuration applies.Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.inthashCode()Set opaque in a chainable fashion.Set requests in a chainable fashion.voidSet the opaque property valuevoidsetRequests(List<@NotNull String> requests) Set the requests property valuevoidSet the source property valueSet source in a chainable fashion.toString()
- 
Field Details- 
JSON_PROPERTY_SOURCE- See Also:
 
- 
JSON_PROPERTY_OPAQUE- See Also:
 
- 
JSON_PROPERTY_REQUESTS- See Also:
 
 
- 
- 
Constructor Details- 
V1alpha3DeviceAllocationConfiguration
 
- 
- 
Method Details- 
getSourceSource records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.- Returns:
- the source property value
 
- 
setSourceSet the source property value- Parameters:
- source- property value to set
 
- 
sourceSet source in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAllocationConfiguration for chaining.
 
- 
getOpaque- Returns:
- the opaque property value
 
- 
setOpaqueSet the opaque property value- Parameters:
- opaque- property value to set
 
- 
opaqueSet opaque in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAllocationConfiguration for chaining.
 
- 
getRequestsRequests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format[/ ]. If just the main request is given, the configuration applies to all subrequests. - Returns:
- the requests property value
 
- 
setRequestsSet the requests property value- Parameters:
- requests- property value to set
 
- 
requestsSet requests in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAllocationConfiguration for chaining.
 
- 
addRequestsItemAdd an item to the requests property in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAllocationConfiguration for chaining.
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-