Class AttachMetadata
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.AttachMetadata
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AttachMetadataBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AttachMetadata extends Object implements io.fabric8.kubernetes.api.builder.Editable<AttachMetadataBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttachMetadata()No args constructor for use in serializationAttachMetadata(Boolean node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachMetadataBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetNode()When set to true, Prometheus attaches node metadata to the discovered targets.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetNode(Boolean node)When set to true, Prometheus attaches node metadata to the discovered targets.AttachMetadataBuildertoBuilder()
-
-
-
Constructor Detail
-
AttachMetadata
public AttachMetadata()
No args constructor for use in serialization
-
AttachMetadata
public AttachMetadata(Boolean node)
-
-
Method Detail
-
getNode
public Boolean getNode()
When set to true, Prometheus attaches node metadata to the discovered targets.The Prometheus service account must have the `list` and `watch` permissions on the `Nodes` objects.
-
setNode
public void setNode(Boolean node)
When set to true, Prometheus attaches node metadata to the discovered targets.The Prometheus service account must have the `list` and `watch` permissions on the `Nodes` objects.
-
edit
public AttachMetadataBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AttachMetadataBuilder>
-
toBuilder
public AttachMetadataBuilder toBuilder()
-
-