public static class ImportOciTelemetryResourcesTaskDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ImportOciTelemetryResourcesTaskDetails.Builder |
availabilityProxyMetricCollectionInterval(Integer availabilityProxyMetricCollectionInterval)
Metrics collection interval in seconds used when calculating the availability of the
resource based on metrics specified using the property ‘availabilityProxyMetrics’.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
availabilityProxyMetrics(List<String> availabilityProxyMetrics)
List of metrics to be used to calculate the availability of the resource.
|
ImportOciTelemetryResourcesTaskDetails |
build() |
ImportOciTelemetryResourcesTaskDetails.Builder |
consolePathPrefix(String consolePathPrefix)
The console path prefix to use for providing service home url page navigation.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
copy(ImportOciTelemetryResourcesTaskDetails model) |
ImportOciTelemetryResourcesTaskDetails.Builder |
externalIdMapping(String externalIdMapping)
The external resource identifier property in the metric dimensions.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
lifecycleStatusMappingsForUpStatus(List<String> lifecycleStatusMappingsForUpStatus)
Lifecycle states of the external resource which reflects the status of the resource being
up.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
namespace(String namespace)
Name space to be used for OCI Native service resources discovery.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
resourceGroup(String resourceGroup)
The resource group to use while fetching metrics from telemetry.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
resourceNameFilter(String resourceNameFilter)
The resource name filter.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
resourceNameMapping(String resourceNameMapping)
The resource name property in the metric dimensions.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
resourceTypeFilter(String resourceTypeFilter)
The resource type filter.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
resourceTypeMapping(String resourceTypeMapping)
The resource type property in the metric dimensions.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
serviceBaseUrl(String serviceBaseUrl)
The base URL of the OCI service to which the resource belongs to.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
shouldUseMetricsFlowForStatus(Boolean shouldUseMetricsFlowForStatus)
Flag to indicate whether status is calculated using metrics or LifeCycleState attribute
of the resource in OCI service.
|
ImportOciTelemetryResourcesTaskDetails.Builder |
source(ImportOciTelemetryResourcesTaskDetails.Source source)
Source from where the metrics pushed to telemetry.
|
public ImportOciTelemetryResourcesTaskDetails.Builder source(ImportOciTelemetryResourcesTaskDetails.Source source)
Source from where the metrics pushed to telemetry. Possible values: * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from OCI Native Services. * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus.
source
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder namespace(String namespace)
Name space to be used for OCI Native service resources discovery.
namespace
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder resourceGroup(String resourceGroup)
The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request.
resourceGroup
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder shouldUseMetricsFlowForStatus(Boolean shouldUseMetricsFlowForStatus)
Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in OCI service.
shouldUseMetricsFlowForStatus
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder serviceBaseUrl(String serviceBaseUrl)
The base URL of the OCI service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
serviceBaseUrl
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder consolePathPrefix(String consolePathPrefix)
The console path prefix to use for providing service home url page navigation. For
example if the prefix provided is ‘security/bastion/bastions’, the URL used for
navigation will be https://
consolePathPrefix
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder lifecycleStatusMappingsForUpStatus(List<String> lifecycleStatusMappingsForUpStatus)
Lifecycle states of the external resource which reflects the status of the resource being up.
lifecycleStatusMappingsForUpStatus
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder resourceNameMapping(String resourceNameMapping)
The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
resourceNameMapping
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder externalIdMapping(String externalIdMapping)
The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
externalIdMapping
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder resourceTypeMapping(String resourceTypeMapping)
The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
resourceTypeMapping
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder resourceNameFilter(String resourceNameFilter)
The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
resourceNameFilter
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder resourceTypeFilter(String resourceTypeFilter)
The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
resourceTypeFilter
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder availabilityProxyMetrics(List<String> availabilityProxyMetrics)
List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property ‘availabilityProxyMetricCollectionIntervalInSeconds’. If no metrics are specified, availability will not be calculated for the resource.
availabilityProxyMetrics
- the value to setpublic ImportOciTelemetryResourcesTaskDetails.Builder availabilityProxyMetricCollectionInterval(Integer availabilityProxyMetricCollectionInterval)
Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property ‘availabilityProxyMetrics’.
availabilityProxyMetricCollectionInterval
- the value to setpublic ImportOciTelemetryResourcesTaskDetails build()
public ImportOciTelemetryResourcesTaskDetails.Builder copy(ImportOciTelemetryResourcesTaskDetails model)
Copyright © 2016–2024. All rights reserved.