Class StructuredResourceHandle
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha2.StructuredResourceHandle
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<StructuredResourceHandleBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class StructuredResourceHandle extends Object implements io.fabric8.kubernetes.api.builder.Editable<StructuredResourceHandleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
StructuredResourceHandle is the in-tree representation of the allocation result.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StructuredResourceHandle()No args constructor for use in serializationStructuredResourceHandle(String nodeName, List<DriverAllocationResult> results, Object vendorClaimParameters, Object vendorClassParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructuredResourceHandleBuilderedit()Map<String,Object>getAdditionalProperties()StringgetNodeName()NodeName is the name of the node providing the necessary resources if the resources are local to a node.List<DriverAllocationResult>getResults()Results lists all allocated driver resources.ObjectgetVendorClaimParameters()StructuredResourceHandle is the in-tree representation of the allocation result.ObjectgetVendorClassParameters()StructuredResourceHandle is the in-tree representation of the allocation result.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetNodeName(String nodeName)NodeName is the name of the node providing the necessary resources if the resources are local to a node.voidsetResults(List<DriverAllocationResult> results)Results lists all allocated driver resources.voidsetVendorClaimParameters(Object vendorClaimParameters)StructuredResourceHandle is the in-tree representation of the allocation result.voidsetVendorClassParameters(Object vendorClassParameters)StructuredResourceHandle is the in-tree representation of the allocation result.StructuredResourceHandleBuildertoBuilder()
-
-
-
Constructor Detail
-
StructuredResourceHandle
public StructuredResourceHandle()
No args constructor for use in serialization
-
StructuredResourceHandle
public StructuredResourceHandle(String nodeName, List<DriverAllocationResult> results, Object vendorClaimParameters, Object vendorClassParameters)
-
-
Method Detail
-
getNodeName
public String getNodeName()
NodeName is the name of the node providing the necessary resources if the resources are local to a node.
-
setNodeName
public void setNodeName(String nodeName)
NodeName is the name of the node providing the necessary resources if the resources are local to a node.
-
getResults
public List<DriverAllocationResult> getResults()
Results lists all allocated driver resources.
-
setResults
public void setResults(List<DriverAllocationResult> results)
Results lists all allocated driver resources.
-
getVendorClaimParameters
public Object getVendorClaimParameters()
StructuredResourceHandle is the in-tree representation of the allocation result.
-
setVendorClaimParameters
public void setVendorClaimParameters(Object vendorClaimParameters)
StructuredResourceHandle is the in-tree representation of the allocation result.
-
getVendorClassParameters
public Object getVendorClassParameters()
StructuredResourceHandle is the in-tree representation of the allocation result.
-
setVendorClassParameters
public void setVendorClassParameters(Object vendorClassParameters)
StructuredResourceHandle is the in-tree representation of the allocation result.
-
edit
public StructuredResourceHandleBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<StructuredResourceHandleBuilder>
-
toBuilder
public StructuredResourceHandleBuilder toBuilder()
-
-