Class WorkloadReference
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1beta1.WorkloadReference
-
- All Implemented Interfaces:
Editable<WorkloadReferenceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class WorkloadReference extends Object implements Editable<WorkloadReferenceBuilder>, KubernetesResource
WorkloadReference references the Workload object together with the template that was used to create a particular PodGroup.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkloadReference()No args constructor for use in serializationWorkloadReference(String templateName, String workloadName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkloadReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetTemplateName()templateName is the name of a template within the Workload object that was used to create a pod group.StringgetWorkloadName()workloadName is the name of the Workload object that contains a template that was used when creating a pod group.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetTemplateName(String templateName)templateName is the name of a template within the Workload object that was used to create a pod group.voidsetWorkloadName(String workloadName)workloadName is the name of the Workload object that contains a template that was used when creating a pod group.WorkloadReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getTemplateName
public String getTemplateName()
templateName is the name of a template within the Workload object that was used to create a pod group. It must be a DNS label. This field is required.
-
setTemplateName
public void setTemplateName(String templateName)
templateName is the name of a template within the Workload object that was used to create a pod group. It must be a DNS label. This field is required.
-
getWorkloadName
public String getWorkloadName()
workloadName is the name of the Workload object that contains a template that was used when creating a pod group. It must be a DNS name. This field is required.
-
setWorkloadName
public void setWorkloadName(String workloadName)
workloadName is the name of the Workload object that contains a template that was used when creating a pod group. It must be a DNS name. This field is required.
-
edit
public WorkloadReferenceBuilder edit()
- Specified by:
editin interfaceEditable<WorkloadReferenceBuilder>
-
toBuilder
public WorkloadReferenceBuilder toBuilder()
-
-