Class MetadataConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.MetadataConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MetadataConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MetadataConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<MetadataConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MetadataConfig configures the sending of series metadata to the remote storage.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetadataConfig()No args constructor for use in serializationMetadataConfig(Integer maxSamplesPerSend, Boolean send, String sendInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataConfigBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMaxSamplesPerSend()MaxSamplesPerSend is the maximum number of metadata samples per send.BooleangetSend()Defines whether metric metadata is sent to the remote storage or not.StringgetSendInterval()Defines how frequently metric metadata is sent to the remote storage.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMaxSamplesPerSend(Integer maxSamplesPerSend)MaxSamplesPerSend is the maximum number of metadata samples per send.voidsetSend(Boolean send)Defines whether metric metadata is sent to the remote storage or not.voidsetSendInterval(String sendInterval)Defines how frequently metric metadata is sent to the remote storage.MetadataConfigBuildertoBuilder()
-
-
-
Method Detail
-
getMaxSamplesPerSend
public Integer getMaxSamplesPerSend()
MaxSamplesPerSend is the maximum number of metadata samples per send.It requires Prometheus >= v2.29.0.
-
setMaxSamplesPerSend
public void setMaxSamplesPerSend(Integer maxSamplesPerSend)
MaxSamplesPerSend is the maximum number of metadata samples per send.It requires Prometheus >= v2.29.0.
-
getSend
public Boolean getSend()
Defines whether metric metadata is sent to the remote storage or not.
-
setSend
public void setSend(Boolean send)
Defines whether metric metadata is sent to the remote storage or not.
-
getSendInterval
public String getSendInterval()
Defines how frequently metric metadata is sent to the remote storage.
-
setSendInterval
public void setSendInterval(String sendInterval)
Defines how frequently metric metadata is sent to the remote storage.
-
edit
public MetadataConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MetadataConfigBuilder>
-
toBuilder
public MetadataConfigBuilder toBuilder()
-
-