Class GetDatabaseFleetHealthMetricsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.GetDatabaseFleetHealthMetricsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetDatabaseFleetHealthMetricsRequest,Void>
- Enclosing class:
- GetDatabaseFleetHealthMetricsRequest
public static class GetDatabaseFleetHealthMetricsRequest.Builder extends Object implements BmcRequest.Builder<GetDatabaseFleetHealthMetricsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDatabaseFleetHealthMetricsRequest
build()
Build the instance of GetDatabaseFleetHealthMetricsRequest as configured by this builderGetDatabaseFleetHealthMetricsRequest
buildWithoutInvocationCallback()
Build the instance of GetDatabaseFleetHealthMetricsRequest as configured by this builderGetDatabaseFleetHealthMetricsRequest.Builder
compareBaselineTime(String compareBaselineTime)
The baseline time for metrics comparison.GetDatabaseFleetHealthMetricsRequest.Builder
compareTargetTime(String compareTargetTime)
The target time for metrics comparison.GetDatabaseFleetHealthMetricsRequest.Builder
compareType(CompareType compareType)
The time window used for metrics comparison.GetDatabaseFleetHealthMetricsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment.GetDatabaseFleetHealthMetricsRequest.Builder
copy(GetDatabaseFleetHealthMetricsRequest o)
Copy method to populate the builder with values from the given instance.GetDatabaseFleetHealthMetricsRequest.Builder
definedTagEquals(String singularValue)
Singular setter.GetDatabaseFleetHealthMetricsRequest.Builder
definedTagEquals(List<String> definedTagEquals)
A list of tag filters to apply.GetDatabaseFleetHealthMetricsRequest.Builder
definedTagExists(String singularValue)
Singular setter.GetDatabaseFleetHealthMetricsRequest.Builder
definedTagExists(List<String> definedTagExists)
A list of tag existence filters to apply.GetDatabaseFleetHealthMetricsRequest.Builder
filterByDatabaseDeploymentType(String filterByDatabaseDeploymentType)
The filter used to filter the databases in the fleet by a specific Oracle Database deployment type.GetDatabaseFleetHealthMetricsRequest.Builder
filterByDatabaseSubType(String filterByDatabaseSubType)
The filter used to filter the databases in the fleet by a specific Oracle Database subtype.GetDatabaseFleetHealthMetricsRequest.Builder
filterByDatabaseType(String filterByDatabaseType)
The filter used to filter the databases in the fleet by a specific Oracle Database type.GetDatabaseFleetHealthMetricsRequest.Builder
filterByDatabaseVersion(String filterByDatabaseVersion)
The filter used to filter the databases in the fleet by a specific Oracle Database version.GetDatabaseFleetHealthMetricsRequest.Builder
filterByMetricNames(String filterByMetricNames)
The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator.GetDatabaseFleetHealthMetricsRequest.Builder
freeformTagEquals(String singularValue)
Singular setter.GetDatabaseFleetHealthMetricsRequest.Builder
freeformTagEquals(List<String> freeformTagEquals)
A list of tag filters to apply.GetDatabaseFleetHealthMetricsRequest.Builder
freeformTagExists(String singularValue)
Singular setter.GetDatabaseFleetHealthMetricsRequest.Builder
freeformTagExists(List<String> freeformTagExists)
A list of tag existence filters to apply.GetDatabaseFleetHealthMetricsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetDatabaseFleetHealthMetricsRequest.Builder
limit(Integer limit)
The maximum number of records returned in the paginated response.GetDatabaseFleetHealthMetricsRequest.Builder
managedDatabaseGroupId(String managedDatabaseGroupId)
The OCID of the Managed Database Group.GetDatabaseFleetHealthMetricsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.GetDatabaseFleetHealthMetricsRequest.Builder
page(String page)
The page token representing the page from where the next set of paginated results are retrieved.GetDatabaseFleetHealthMetricsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.GetDatabaseFleetHealthMetricsRequest.Builder
sortBy(GetDatabaseFleetHealthMetricsRequest.SortBy sortBy)
The field to sort information by.GetDatabaseFleetHealthMetricsRequest.Builder
sortOrder(SortOrders sortOrder)
The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
compareBaselineTime
public GetDatabaseFleetHealthMetricsRequest.Builder compareBaselineTime(String compareBaselineTime)
The baseline time for metrics comparison.- Parameters:
compareBaselineTime
- the value to set- Returns:
- this builder instance
-
compareTargetTime
public GetDatabaseFleetHealthMetricsRequest.Builder compareTargetTime(String compareTargetTime)
The target time for metrics comparison.- Parameters:
compareTargetTime
- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetDatabaseFleetHealthMetricsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
managedDatabaseGroupId
public GetDatabaseFleetHealthMetricsRequest.Builder managedDatabaseGroupId(String managedDatabaseGroupId)
The OCID of the Managed Database Group.- Parameters:
managedDatabaseGroupId
- the value to set- Returns:
- this builder instance
-
compartmentId
public GetDatabaseFleetHealthMetricsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
compareType
public GetDatabaseFleetHealthMetricsRequest.Builder compareType(CompareType compareType)
The time window used for metrics comparison.- Parameters:
compareType
- the value to set- Returns:
- this builder instance
-
filterByMetricNames
public GetDatabaseFleetHealthMetricsRequest.Builder filterByMetricNames(String filterByMetricNames)
The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator.Note that, by default, the service returns all supported metrics.
- Parameters:
filterByMetricNames
- the value to set- Returns:
- this builder instance
-
filterByDatabaseType
public GetDatabaseFleetHealthMetricsRequest.Builder filterByDatabaseType(String filterByDatabaseType)
The filter used to filter the databases in the fleet by a specific Oracle Database type.- Parameters:
filterByDatabaseType
- the value to set- Returns:
- this builder instance
-
filterByDatabaseSubType
public GetDatabaseFleetHealthMetricsRequest.Builder filterByDatabaseSubType(String filterByDatabaseSubType)
The filter used to filter the databases in the fleet by a specific Oracle Database subtype.- Parameters:
filterByDatabaseSubType
- the value to set- Returns:
- this builder instance
-
page
public GetDatabaseFleetHealthMetricsRequest.Builder page(String page)
The page token representing the page from where the next set of paginated results are retrieved.This is usually retrieved from a previous list call.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
limit
public GetDatabaseFleetHealthMetricsRequest.Builder limit(Integer limit)
The maximum number of records returned in the paginated response.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
sortBy
public GetDatabaseFleetHealthMetricsRequest.Builder sortBy(GetDatabaseFleetHealthMetricsRequest.SortBy sortBy)
The field to sort information by.Only one sortOrder can be used. The default sort order for \u2018TIMECREATED\u2019 is descending and the default sort order for \u2018NAME\u2019 is ascending. The \u2018NAME\u2019 sort order is case-sensitive.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public GetDatabaseFleetHealthMetricsRequest.Builder sortOrder(SortOrders sortOrder)
The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order.Ascending order is the default order.
- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
filterByDatabaseDeploymentType
public GetDatabaseFleetHealthMetricsRequest.Builder filterByDatabaseDeploymentType(String filterByDatabaseDeploymentType)
The filter used to filter the databases in the fleet by a specific Oracle Database deployment type.- Parameters:
filterByDatabaseDeploymentType
- the value to set- Returns:
- this builder instance
-
filterByDatabaseVersion
public GetDatabaseFleetHealthMetricsRequest.Builder filterByDatabaseVersion(String filterByDatabaseVersion)
The filter used to filter the databases in the fleet by a specific Oracle Database version.- Parameters:
filterByDatabaseVersion
- the value to set- Returns:
- this builder instance
-
definedTagEquals
public GetDatabaseFleetHealthMetricsRequest.Builder definedTagEquals(List<String> definedTagEquals)
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”.
- Parameters:
definedTagEquals
- the value to set- Returns:
- this builder instance
-
definedTagEquals
public GetDatabaseFleetHealthMetricsRequest.Builder definedTagEquals(String singularValue)
Singular setter.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”.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
freeformTagEquals
public GetDatabaseFleetHealthMetricsRequest.Builder freeformTagEquals(List<String> freeformTagEquals)
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”.
- Parameters:
freeformTagEquals
- the value to set- Returns:
- this builder instance
-
freeformTagEquals
public GetDatabaseFleetHealthMetricsRequest.Builder freeformTagEquals(String singularValue)
Singular setter.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”.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
definedTagExists
public GetDatabaseFleetHealthMetricsRequest.Builder definedTagExists(List<String> definedTagExists)
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”.
- Parameters:
definedTagExists
- the value to set- Returns:
- this builder instance
-
definedTagExists
public GetDatabaseFleetHealthMetricsRequest.Builder definedTagExists(String singularValue)
Singular setter.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”.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
freeformTagExists
public GetDatabaseFleetHealthMetricsRequest.Builder freeformTagExists(List<String> freeformTagExists)
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”.
- Parameters:
freeformTagExists
- the value to set- Returns:
- this builder instance
-
freeformTagExists
public GetDatabaseFleetHealthMetricsRequest.Builder freeformTagExists(String singularValue)
Singular setter.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”.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
invocationCallback
public GetDatabaseFleetHealthMetricsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public GetDatabaseFleetHealthMetricsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public GetDatabaseFleetHealthMetricsRequest.Builder copy(GetDatabaseFleetHealthMetricsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetDatabaseFleetHealthMetricsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetDatabaseFleetHealthMetricsRequest build()
Build the instance of GetDatabaseFleetHealthMetricsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<GetDatabaseFleetHealthMetricsRequest,Void>
- Returns:
- instance of GetDatabaseFleetHealthMetricsRequest
-
buildWithoutInvocationCallback
public GetDatabaseFleetHealthMetricsRequest buildWithoutInvocationCallback()
Build the instance of GetDatabaseFleetHealthMetricsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of GetDatabaseFleetHealthMetricsRequest
-
-