public static class GetDatabaseFleetHealthMetricsRequest.Builder extends Object implements BmcRequest.Builder<GetDatabaseFleetHealthMetricsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetDatabaseFleetHealthMetricsRequest |
build()
Build the instance of GetDatabaseFleetHealthMetricsRequest as configured by this builder
|
GetDatabaseFleetHealthMetricsRequest |
buildWithoutInvocationCallback()
Build the instance of GetDatabaseFleetHealthMetricsRequest as configured by this builder
|
GetDatabaseFleetHealthMetricsRequest.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(List<String> definedTagEquals)
A list of tag filters to apply.
|
GetDatabaseFleetHealthMetricsRequest.Builder |
definedTagEquals(String singularValue)
Singular setter.
|
GetDatabaseFleetHealthMetricsRequest.Builder |
definedTagExists(List<String> definedTagExists)
A list of tag existence filters to apply.
|
GetDatabaseFleetHealthMetricsRequest.Builder |
definedTagExists(String singularValue)
Singular setter.
|
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(List<String> freeformTagEquals)
A list of tag filters to apply.
|
GetDatabaseFleetHealthMetricsRequest.Builder |
freeformTagEquals(String singularValue)
Singular setter.
|
GetDatabaseFleetHealthMetricsRequest.Builder |
freeformTagExists(List<String> freeformTagExists)
A list of tag existence filters to apply.
|
GetDatabaseFleetHealthMetricsRequest.Builder |
freeformTagExists(String singularValue)
Singular setter.
|
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 (‘ASC’) or descending
(‘DESC’) order.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetDatabaseFleetHealthMetricsRequest.Builder compareBaselineTime(String compareBaselineTime)
The baseline time for metrics comparison.
compareBaselineTime
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder compareTargetTime(String compareTargetTime)
The target time for metrics comparison.
compareTargetTime
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder managedDatabaseGroupId(String managedDatabaseGroupId)
The OCID of the Managed Database Group.
managedDatabaseGroupId
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder compareType(CompareType compareType)
The time window used for metrics comparison.
compareType
- the value to setpublic 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.
filterByMetricNames
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder filterByDatabaseType(String filterByDatabaseType)
The filter used to filter the databases in the fleet by a specific Oracle Database type.
filterByDatabaseType
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder filterByDatabaseSubType(String filterByDatabaseSubType)
The filter used to filter the databases in the fleet by a specific Oracle Database subtype.
filterByDatabaseSubType
- the value to setpublic 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.
page
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder limit(Integer limit)
The maximum number of records returned in the paginated response.
limit
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder sortBy(GetDatabaseFleetHealthMetricsRequest.SortBy sortBy)
The field to sort information by. Only one sortOrder can be used. The default sort order for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. The ‘NAME’ sort order is case-sensitive.
sortBy
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder sortOrder(SortOrders sortOrder)
The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order.
sortOrder
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder filterByDatabaseDeploymentType(String filterByDatabaseDeploymentType)
The filter used to filter the databases in the fleet by a specific Oracle Database deployment type.
filterByDatabaseDeploymentType
- the value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder filterByDatabaseVersion(String filterByDatabaseVersion)
The filter used to filter the databases in the fleet by a specific Oracle Database version.
filterByDatabaseVersion
- the value to setpublic 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”.
definedTagEquals
- the value to setpublic 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”.
singularValue
- the singular value to setpublic 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”.
freeformTagEquals
- the value to setpublic 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”.
singularValue
- the singular value to setpublic 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”.
definedTagExists
- the value to setpublic 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”.
singularValue
- the singular value to setpublic 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”.
freeformTagExists
- the value to setpublic 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”.
singularValue
- the singular value to setpublic GetDatabaseFleetHealthMetricsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic GetDatabaseFleetHealthMetricsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetDatabaseFleetHealthMetricsRequest.Builder copy(GetDatabaseFleetHealthMetricsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetDatabaseFleetHealthMetricsRequest,Void>
o
- other request from which to copy valuespublic GetDatabaseFleetHealthMetricsRequest build()
Build the instance of GetDatabaseFleetHealthMetricsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<GetDatabaseFleetHealthMetricsRequest,Void>
public GetDatabaseFleetHealthMetricsRequest buildWithoutInvocationCallback()
Build the instance of GetDatabaseFleetHealthMetricsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.