Class MetadataConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.MetadataConfig
-
- All Implemented Interfaces:
Editable<MetadataConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MetadataConfig extends Object implements Editable<MetadataConfigBuilder>, 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 defines the maximum number of metadata samples per send.BooleangetSend()send defines whether metric metadata is sent to the remote storage or not.StringgetSendInterval()sendInterval 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 defines the maximum number of metadata samples per send.voidsetSend(Boolean send)send defines whether metric metadata is sent to the remote storage or not.voidsetSendInterval(String sendInterval)sendInterval defines how frequently metric metadata is sent to the remote storage.MetadataConfigBuildertoBuilder()
-
-
-
Method Detail
-
getMaxSamplesPerSend
public Integer getMaxSamplesPerSend()
maxSamplesPerSend defines the maximum number of metadata samples per send.It requires Prometheus >= v2.29.0.
-
setMaxSamplesPerSend
public void setMaxSamplesPerSend(Integer maxSamplesPerSend)
maxSamplesPerSend defines the maximum number of metadata samples per send.It requires Prometheus >= v2.29.0.
-
getSend
public Boolean getSend()
send defines whether metric metadata is sent to the remote storage or not.
-
setSend
public void setSend(Boolean send)
send defines whether metric metadata is sent to the remote storage or not.
-
getSendInterval
public String getSendInterval()
sendInterval defines how frequently metric metadata is sent to the remote storage.
-
setSendInterval
public void setSendInterval(String sendInterval)
sendInterval defines how frequently metric metadata is sent to the remote storage.
-
edit
public MetadataConfigBuilder edit()
- Specified by:
editin interfaceEditable<MetadataConfigBuilder>
-
toBuilder
public MetadataConfigBuilder toBuilder()
-
-