Class WorkloadBinding
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.WorkloadBinding
-
- All Implemented Interfaces:
Editable<WorkloadBindingBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class WorkloadBinding extends Object implements Editable<WorkloadBindingBuilder>, KubernetesResource
WorkloadBinding is a link between a configuration resource and a workload resource.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkloadBinding()No args constructor for use in serializationWorkloadBinding(List<ConfigResourceCondition> conditions, String group, String name, String namespace, String resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkloadBindingBuilderedit()Map<String,Object>getAdditionalProperties()List<ConfigResourceCondition>getConditions()conditions defines the current state of the configuration resource when bound to the referenced Workload object.StringgetGroup()group defines the group of the referenced resource.StringgetName()name defines the name of the referenced object.StringgetNamespace()namespace defines the namespace of the referenced object.StringgetResource()resource defines the type of resource being referenced (e.g.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<ConfigResourceCondition> conditions)conditions defines the current state of the configuration resource when bound to the referenced Workload object.voidsetGroup(String group)group defines the group of the referenced resource.voidsetName(String name)name defines the name of the referenced object.voidsetNamespace(String namespace)namespace defines the namespace of the referenced object.voidsetResource(String resource)resource defines the type of resource being referenced (e.g.WorkloadBindingBuildertoBuilder()
-
-
-
Method Detail
-
getConditions
public List<ConfigResourceCondition> getConditions()
conditions defines the current state of the configuration resource when bound to the referenced Workload object.
-
setConditions
public void setConditions(List<ConfigResourceCondition> conditions)
conditions defines the current state of the configuration resource when bound to the referenced Workload object.
-
getGroup
public String getGroup()
group defines the group of the referenced resource.
-
setGroup
public void setGroup(String group)
group defines the group of the referenced resource.
-
getName
public String getName()
name defines the name of the referenced object.
-
setName
public void setName(String name)
name defines the name of the referenced object.
-
getNamespace
public String getNamespace()
namespace defines the namespace of the referenced object.
-
setNamespace
public void setNamespace(String namespace)
namespace defines the namespace of the referenced object.
-
getResource
public String getResource()
resource defines the type of resource being referenced (e.g. Prometheus, PrometheusAgent, ThanosRuler or Alertmanager).
-
setResource
public void setResource(String resource)
resource defines the type of resource being referenced (e.g. Prometheus, PrometheusAgent, ThanosRuler or Alertmanager).
-
edit
public WorkloadBindingBuilder edit()
- Specified by:
editin interfaceEditable<WorkloadBindingBuilder>
-
toBuilder
public WorkloadBindingBuilder toBuilder()
-
-