Class ImportOciTelemetryResourcesTaskDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.stackmonitoring.model.MonitoredResourceTaskDetails
- 
- com.oracle.bmc.stackmonitoring.model.ImportOciTelemetryResourcesTaskDetails
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public final class ImportOciTelemetryResourcesTaskDetails extends MonitoredResourceTaskDetailsRequest details for importing resources from Telemetry like resources from OCI Native Services and prometheus.
 Note: Objects should always be created or deserialized using theImportOciTelemetryResourcesTaskDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theImportOciTelemetryResourcesTaskDetails.Builder, which maintain a set of all explicitly set fields calledImportOciTelemetryResourcesTaskDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classImportOciTelemetryResourcesTaskDetails.Builderstatic classImportOciTelemetryResourcesTaskDetails.SourceSource from where the metrics pushed to telemetry.- 
Nested classes/interfaces inherited from class com.oracle.bmc.stackmonitoring.model.MonitoredResourceTaskDetailsMonitoredResourceTaskDetails.Type
 
- 
 - 
Constructor SummaryConstructors Constructor Description ImportOciTelemetryResourcesTaskDetails(ImportOciTelemetryResourcesTaskDetails.Source source, String namespace, String resourceGroup, Boolean shouldUseMetricsFlowForStatus, String serviceBaseUrl, String consolePathPrefix, List<String> lifecycleStatusMappingsForUpStatus, String resourceNameMapping, String externalIdMapping, String resourceTypeMapping, String resourceNameFilter, String resourceTypeFilter, List<String> availabilityProxyMetrics, Integer availabilityProxyMetricCollectionInterval)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportOciTelemetryResourcesTaskDetails.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetAvailabilityProxyMetricCollectionInterval()Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property ‘availabilityProxyMetrics’.List<String>getAvailabilityProxyMetrics()List of metrics to be used to calculate the availability of the resource.StringgetConsolePathPrefix()The console path prefix to use for providing service home url page navigation.StringgetExternalIdMapping()The external resource identifier property in the metric dimensions.List<String>getLifecycleStatusMappingsForUpStatus()Lifecycle states of the external resource which reflects the status of the resource being up.StringgetNamespace()Name space to be used for OCI Native service resources discovery.StringgetResourceGroup()The resource group to use while fetching metrics from telemetry.StringgetResourceNameFilter()The resource name filter.StringgetResourceNameMapping()The resource name property in the metric dimensions.StringgetResourceTypeFilter()The resource type filter.StringgetResourceTypeMapping()The resource type property in the metric dimensions.StringgetServiceBaseUrl()The base URL of the OCI service to which the resource belongs to.BooleangetShouldUseMetricsFlowForStatus()Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in OCI service.ImportOciTelemetryResourcesTaskDetails.SourcegetSource()Source from where the metrics pushed to telemetry.inthashCode()ImportOciTelemetryResourcesTaskDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ImportOciTelemetryResourcesTaskDetails@Deprecated public ImportOciTelemetryResourcesTaskDetails(ImportOciTelemetryResourcesTaskDetails.Source source, String namespace, String resourceGroup, Boolean shouldUseMetricsFlowForStatus, String serviceBaseUrl, String consolePathPrefix, List<String> lifecycleStatusMappingsForUpStatus, String resourceNameMapping, String externalIdMapping, String resourceTypeMapping, String resourceNameFilter, String resourceTypeFilter, List<String> availabilityProxyMetrics, Integer availabilityProxyMetricCollectionInterval) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ImportOciTelemetryResourcesTaskDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic ImportOciTelemetryResourcesTaskDetails.Builder toBuilder() 
 - 
getSourcepublic ImportOciTelemetryResourcesTaskDetails.Source getSource() 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. * OCI_TELEMETRY_TELEGRAF - The metrics are pushed to telemetry from Telegraf receiver. * OCI_TELEMETRY_COLLECTD - The metrics are pushed to telemetry from CollectD receiver. - Returns:
- the value
 
 - 
getNamespacepublic String getNamespace() Name space to be used for OCI Native service resources discovery.- Returns:
- the value
 
 - 
getResourceGrouppublic String getResourceGroup() The resource group to use while fetching metrics from telemetry.If not specified, resource group will be skipped in the list metrics request. - Returns:
- the value
 
 - 
getShouldUseMetricsFlowForStatuspublic Boolean getShouldUseMetricsFlowForStatus() Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in OCI service.- Returns:
- the value
 
 - 
getServiceBaseUrlpublic String getServiceBaseUrl() 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. - Returns:
- the value
 
 - 
getConsolePathPrefixpublic String getConsolePathPrefix() 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:// /security/bastion/bastions/ . If not provided, service home page link will not be shown in the stack monitoring home page. - Returns:
- the value
 
 - 
getLifecycleStatusMappingsForUpStatuspublic List<String> getLifecycleStatusMappingsForUpStatus() Lifecycle states of the external resource which reflects the status of the resource being up.- Returns:
- the value
 
 - 
getResourceNameMappingpublic String getResourceNameMapping() The resource name property in the metric dimensions.Resources imported will be using this property value for resource name. - Returns:
- the value
 
 - 
getExternalIdMappingpublic String getExternalIdMapping() The external resource identifier property in the metric dimensions.Resources imported will be using this property value for external id. - Returns:
- the value
 
 - 
getResourceTypeMappingpublic String getResourceTypeMapping() 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. - Returns:
- the value
 
 - 
getResourceNameFilterpublic String getResourceNameFilter() The resource name filter.Resources matching with the resource name filter will be imported. Regular expressions will be accepted. - Returns:
- the value
 
 - 
getResourceTypeFilterpublic String getResourceTypeFilter() The resource type filter.Resources matching with the resource type filter will be imported. Regular expressions will be accepted. - Returns:
- the value
 
 - 
getAvailabilityProxyMetricspublic List<String> getAvailabilityProxyMetrics() 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 ‘availabilityProxyMetricCollectionInterval’. If no metrics are specified, availability will not be calculated for the resource. - Returns:
- the value
 
 - 
getAvailabilityProxyMetricCollectionIntervalpublic Integer getAvailabilityProxyMetricCollectionInterval() Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property ‘availabilityProxyMetrics’.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- MonitoredResourceTaskDetails
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- MonitoredResourceTaskDetails
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- MonitoredResourceTaskDetails
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- MonitoredResourceTaskDetails
 
 
- 
 
-