Class SummarizeDatabaseInsightResourceForecastTrendRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.opsi.requests.SummarizeDatabaseInsightResourceForecastTrendRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public class SummarizeDatabaseInsightResourceForecastTrendRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceForecastTrendExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use SummarizeDatabaseInsightResourceForecastTrendRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSummarizeDatabaseInsightResourceForecastTrendRequest.Builderstatic classSummarizeDatabaseInsightResourceForecastTrendRequest.DatabaseTypeFilter by one or more database type.static classSummarizeDatabaseInsightResourceForecastTrendRequest.ForecastModelChoose algorithm model for the forecasting.static classSummarizeDatabaseInsightResourceForecastTrendRequest.StatisticChoose the type of statistic metric data to be used for forecasting.static classSummarizeDatabaseInsightResourceForecastTrendRequest.UtilizationLevelFilter by utilization level by the following buckets: - HIGH_UTILIZATION: DBs with utilization greater or equal than 75.
-
Constructor Summary
Constructors Constructor Description SummarizeDatabaseInsightResourceForecastTrendRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SummarizeDatabaseInsightResourceForecastTrendRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetAnalysisTimeInterval()Specify time period in ISO 8601 format with respect to current time.List<String>getCdbName()Filter by one or more cdb name.StringgetCompartmentId()The OCID of the compartment.BooleangetCompartmentIdInSubtree()A flag to search all resources within a given compartment and all sub-compartments.IntegergetConfidence()This parameter is used to change data’s confidence level, this data is ingested by the forecast algorithm.List<String>getDatabaseId()Optional list of database OCIDs of the associated DBaaS entity.List<SummarizeDatabaseInsightResourceForecastTrendRequest.DatabaseType>getDatabaseType()Filter by one or more database type.List<String>getDefinedTagEquals()A list of tag filters to apply.List<String>getDefinedTagExists()A list of tag existence filters to apply.List<String>getExadataInsightId()Optional list of exadata insight resource OCIDs.IntegergetForecastDays()Number of days used for utilization forecast analysis.SummarizeDatabaseInsightResourceForecastTrendRequest.ForecastModelgetForecastModel()Choose algorithm model for the forecasting.List<String>getFreeformTagEquals()A list of tag filters to apply.List<String>getFreeformTagExists()A list of tag existence filters to apply.IntegergetHighUtilizationThreshold()Percent value in which a resource metric is considered highly utilized.List<String>getHostName()Filter by one or more hostname.List<String>getId()Optional list of database insight resource OCIDs.BooleangetIsDatabaseInstanceLevelMetrics()Flag to indicate if database instance level metrics should be returned.IntegergetLowUtilizationThreshold()Percent value in which a resource metric is considered low utilized.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetPage()For list pagination.StringgetResourceMetric()Filter by resource metric.SummarizeDatabaseInsightResourceForecastTrendRequest.StatisticgetStatistic()Choose the type of statistic metric data to be used for forecasting.StringgetTablespaceName()Tablespace name for a databaseDategetTimeIntervalEnd()Analysis end time in UTC in ISO 8601 format(exclusive).DategetTimeIntervalStart()Analysis start time in UTC in ISO 8601 format(inclusive).SummarizeDatabaseInsightResourceForecastTrendRequest.UtilizationLevelgetUtilizationLevel()Filter by utilization level by the following buckets: - HIGH_UTILIZATION: DBs with utilization greater or equal than 75.List<String>getVmclusterName()Optional list of Exadata Insight VM cluster name.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.SummarizeDatabaseInsightResourceForecastTrendRequest.BuildertoBuilder()Return an instance ofSummarizeDatabaseInsightResourceForecastTrendRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getResourceMetric
public String getResourceMetric()
Filter by resource metric.Supported values are CPU , STORAGE, MEMORY and IO.
-
getAnalysisTimeInterval
public String getAnalysisTimeInterval()
Specify time period in ISO 8601 format with respect to current time.Default is last 30 days represented by P30D. If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
-
getTimeIntervalStart
public Date getTimeIntervalStart()
Analysis start time in UTC in ISO 8601 format(inclusive).Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). The minimum allowed value is 2 years prior to the current day. timeIntervalStart and timeIntervalEnd parameters are used together. If analysisTimeInterval is specified, this parameter is ignored.
-
getTimeIntervalEnd
public Date getTimeIntervalEnd()
Analysis end time in UTC in ISO 8601 format(exclusive).Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd are used together. If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
-
getDatabaseType
public List<SummarizeDatabaseInsightResourceForecastTrendRequest.DatabaseType> getDatabaseType()
Filter by one or more database type.Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
-
getDatabaseId
public List<String> getDatabaseId()
Optional list of database OCIDs of the associated DBaaS entity.
-
getExadataInsightId
public List<String> getExadataInsightId()
Optional list of exadata insight resource OCIDs.
-
getStatistic
public SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic getStatistic()
Choose the type of statistic metric data to be used for forecasting.
-
getForecastDays
public Integer getForecastDays()
Number of days used for utilization forecast analysis.
-
getForecastModel
public SummarizeDatabaseInsightResourceForecastTrendRequest.ForecastModel getForecastModel()
Choose algorithm model for the forecasting.Possible values: - LINEAR: Uses linear regression algorithm for forecasting. - ML_AUTO: Automatically detects best algorithm to use for forecasting. - ML_NO_AUTO: Automatically detects seasonality of the data for forecasting using linear or seasonal algorithm.
-
getUtilizationLevel
public SummarizeDatabaseInsightResourceForecastTrendRequest.UtilizationLevel getUtilizationLevel()
Filter by utilization level by the following buckets: - HIGH_UTILIZATION: DBs with utilization greater or equal than 75.- LOW_UTILIZATION: DBs with utilization lower than 25.
- MEDIUM_HIGH_UTILIZATION: DBs with utilization greater or equal than 50 but lower than 75. - MEDIUM_LOW_UTILIZATION: DBs with utilization greater or equal than 25 but lower than 50.
-
getConfidence
public Integer getConfidence()
This parameter is used to change data’s confidence level, this data is ingested by the forecast algorithm.Confidence is the probability of an interval to contain the expected population parameter. Manipulation of this value will lead to different results. If not set, default confidence value is 95%.
-
getPage
public String getPage()
For list pagination.The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.
-
getTablespaceName
public String getTablespaceName()
Tablespace name for a database
-
getIsDatabaseInstanceLevelMetrics
public Boolean getIsDatabaseInstanceLevelMetrics()
Flag to indicate if database instance level metrics should be returned.The flag is ignored when a host name filter is not applied. When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the whole database which contains an instance on this host.
-
getOpcRequestId
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
getDefinedTagEquals
public List<String> getDefinedTagEquals()
A list of tag filters to apply.Only resources with a defined tag matching the value will be returned. Each item in the list has the format “{namespace}.{tagName}.{value}”. All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as “OR”. Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as “AND”.
-
getFreeformTagEquals
public List<String> getFreeformTagEquals()
A list of tag filters to apply.Only resources with a freeform tag matching the value will be returned. The key for each tag is “{tagName}.{value}”. All inputs are case-insensitive. Multiple values for the same tag name are interpreted as “OR”. Values for different tag names are interpreted as “AND”.
-
getDefinedTagExists
public List<String> getDefinedTagExists()
A list of tag existence filters to apply.Only resources for which the specified defined tags exist will be returned. Each item in the list has the format “{namespace}.{tagName}.true” (for checking existence of a defined tag) or “{namespace}.true”. All inputs are case-insensitive. Currently, only existence (“true” at the end) is supported. Absence (“false” at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as “OR”. Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as “AND”.
-
getFreeformTagExists
public List<String> getFreeformTagExists()
A list of tag existence filters to apply.Only resources for which the specified freeform tags exist the value will be returned. The key for each tag is “{tagName}.true”. All inputs are case-insensitive. Currently, only existence (“true” at the end) is supported. Absence (“false” at the end) is not supported. Multiple values for different tag names are interpreted as “AND”.
-
getCompartmentIdInSubtree
public Boolean getCompartmentIdInSubtree()
A flag to search all resources within a given compartment and all sub-compartments.
-
getVmclusterName
public List<String> getVmclusterName()
Optional list of Exadata Insight VM cluster name.
-
getHighUtilizationThreshold
public Integer getHighUtilizationThreshold()
Percent value in which a resource metric is considered highly utilized.
-
getLowUtilizationThreshold
public Integer getLowUtilizationThreshold()
Percent value in which a resource metric is considered low utilized.
-
toBuilder
public SummarizeDatabaseInsightResourceForecastTrendRequest.Builder toBuilder()
Return an instance ofSummarizeDatabaseInsightResourceForecastTrendRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
SummarizeDatabaseInsightResourceForecastTrendRequest.Builderthat allows you to modify request properties.
-
builder
public static SummarizeDatabaseInsightResourceForecastTrendRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-