public static class UnifiedAgentKubernetesScrapeTarget.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UnifiedAgentKubernetesScrapeTarget |
build() |
UnifiedAgentKubernetesScrapeTarget.Builder |
copy(UnifiedAgentKubernetesScrapeTarget model) |
UnifiedAgentKubernetesScrapeTarget.Builder |
k8sNamespace(String k8sNamespace)
K8s namespace of the resource.
|
UnifiedAgentKubernetesScrapeTarget.Builder |
resourceGroup(String resourceGroup)
Resource group in OCI monitoring.
|
UnifiedAgentKubernetesScrapeTarget.Builder |
resourceType(UnifiedAgentKubernetesScrapeTarget.ResourceType resourceType)
Type of resource to scrape metrics.
|
UnifiedAgentKubernetesScrapeTarget.Builder |
serviceName(String serviceName)
Name of the service prepended to the endpoints.
|
public UnifiedAgentKubernetesScrapeTarget.Builder resourceType(UnifiedAgentKubernetesScrapeTarget.ResourceType resourceType)
Type of resource to scrape metrics.
resourceType
- the value to setpublic UnifiedAgentKubernetesScrapeTarget.Builder k8sNamespace(String k8sNamespace)
K8s namespace of the resource.
k8sNamespace
- the value to setpublic UnifiedAgentKubernetesScrapeTarget.Builder serviceName(String serviceName)
Name of the service prepended to the endpoints.
serviceName
- the value to setpublic UnifiedAgentKubernetesScrapeTarget.Builder resourceGroup(String resourceGroup)
Resource group in OCI monitoring.
resourceGroup
- the value to setpublic UnifiedAgentKubernetesScrapeTarget build()
public UnifiedAgentKubernetesScrapeTarget.Builder copy(UnifiedAgentKubernetesScrapeTarget model)
Copyright © 2016–2024. All rights reserved.