Class WorkloadBinding
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.WorkloadBinding
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<WorkloadBindingBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class WorkloadBinding extends Object implements io.fabric8.kubernetes.api.builder.Editable<WorkloadBindingBuilder>, io.fabric8.kubernetes.api.model.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()The current state of the configuration resource when bound to the referenced Prometheus object.StringgetGroup()The group of the referenced resource.StringgetName()The name of the referenced object.StringgetNamespace()The namespace of the referenced object.StringgetResource()The type of resource being referenced (e.g.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<ConfigResourceCondition> conditions)The current state of the configuration resource when bound to the referenced Prometheus object.voidsetGroup(String group)The group of the referenced resource.voidsetName(String name)The name of the referenced object.voidsetNamespace(String namespace)The namespace of the referenced object.voidsetResource(String resource)The type of resource being referenced (e.g.WorkloadBindingBuildertoBuilder()
-
-
-
Method Detail
-
getConditions
public List<ConfigResourceCondition> getConditions()
The current state of the configuration resource when bound to the referenced Prometheus object.
-
setConditions
public void setConditions(List<ConfigResourceCondition> conditions)
The current state of the configuration resource when bound to the referenced Prometheus object.
-
getGroup
public String getGroup()
The group of the referenced resource.
-
setGroup
public void setGroup(String group)
The group of the referenced resource.
-
getName
public String getName()
The name of the referenced object.
-
setName
public void setName(String name)
The name of the referenced object.
-
getNamespace
public String getNamespace()
The namespace of the referenced object.
-
setNamespace
public void setNamespace(String namespace)
The namespace of the referenced object.
-
getResource
public String getResource()
The type of resource being referenced (e.g. Prometheus or PrometheusAgent).
-
setResource
public void setResource(String resource)
The type of resource being referenced (e.g. Prometheus or PrometheusAgent).
-
edit
public WorkloadBindingBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<WorkloadBindingBuilder>
-
toBuilder
public WorkloadBindingBuilder toBuilder()
-
-