public static class SummarizeMetricsDataRequest.Builder extends Object implements BmcRequest.Builder<SummarizeMetricsDataRequest,SummarizeMetricsDataDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SummarizeMetricsDataRequest.Builder |
body$(SummarizeMetricsDataDetails body)
Alternative setter for the body parameter.
|
SummarizeMetricsDataRequest |
build()
Build the instance of SummarizeMetricsDataRequest as configured by this builder
|
SummarizeMetricsDataRequest |
buildWithoutInvocationCallback()
Build the instance of SummarizeMetricsDataRequest as configured by this builder
|
SummarizeMetricsDataRequest.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the resources monitored by the metric that you are
searching for.
|
SummarizeMetricsDataRequest.Builder |
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
When true, returns resources from all compartments and subcompartments.
|
SummarizeMetricsDataRequest.Builder |
copy(SummarizeMetricsDataRequest o)
Copy method to populate the builder with values from the given instance.
|
SummarizeMetricsDataRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
SummarizeMetricsDataRequest.Builder |
opcRequestId(String opcRequestId)
Customer part of the request identifier token.
|
SummarizeMetricsDataRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
SummarizeMetricsDataRequest.Builder |
summarizeMetricsDataDetails(SummarizeMetricsDataDetails summarizeMetricsDataDetails)
The dimensions used to filter for metrics.
|
public SummarizeMetricsDataRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
Example: ocid1.compartment.oc1..exampleuniqueID
compartmentId
- the value to setpublic SummarizeMetricsDataRequest.Builder summarizeMetricsDataDetails(SummarizeMetricsDataDetails summarizeMetricsDataDetails)
The dimensions used to filter for metrics.
summarizeMetricsDataDetails
- the value to setpublic SummarizeMetricsDataRequest.Builder opcRequestId(String opcRequestId)
Customer part of the request identifier token. If you need to contact Oracle about a particular request, please provide the complete request ID.
opcRequestId
- the value to setpublic SummarizeMetricsDataRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false.
compartmentIdInSubtree
- the value to setpublic SummarizeMetricsDataRequest.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 SummarizeMetricsDataRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic SummarizeMetricsDataRequest.Builder copy(SummarizeMetricsDataRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<SummarizeMetricsDataRequest,SummarizeMetricsDataDetails>
o
- other request from which to copy valuespublic SummarizeMetricsDataRequest build()
Build the instance of SummarizeMetricsDataRequest 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<SummarizeMetricsDataRequest,SummarizeMetricsDataDetails>
public SummarizeMetricsDataRequest.Builder body$(SummarizeMetricsDataDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<SummarizeMetricsDataRequest,SummarizeMetricsDataDetails>
body
- the body parameterpublic SummarizeMetricsDataRequest buildWithoutInvocationCallback()
Build the instance of SummarizeMetricsDataRequest 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.