public static class ListAlertPolicyRulesRequest.Builder extends Object implements BmcRequest.Builder<ListAlertPolicyRulesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListAlertPolicyRulesRequest.Builder |
alertPolicyId(String alertPolicyId)
The OCID of the alert policy.
|
ListAlertPolicyRulesRequest |
build()
Build the instance of ListAlertPolicyRulesRequest as configured by this builder
|
ListAlertPolicyRulesRequest |
buildWithoutInvocationCallback()
Build the instance of ListAlertPolicyRulesRequest as configured by this builder
|
ListAlertPolicyRulesRequest.Builder |
copy(ListAlertPolicyRulesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListAlertPolicyRulesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListAlertPolicyRulesRequest.Builder |
limit(Integer limit)
For list pagination.
|
ListAlertPolicyRulesRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
ListAlertPolicyRulesRequest.Builder |
page(String page)
For list pagination.
|
ListAlertPolicyRulesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListAlertPolicyRulesRequest.Builder alertPolicyId(String alertPolicyId)
The OCID of the alert policy.
alertPolicyId
- the value to setpublic ListAlertPolicyRulesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.
opcRequestId
- the value to setpublic ListAlertPolicyRulesRequest.Builder limit(Integer limit)
For list pagination. The maximum number of items to return per page in a paginated “List” call. For details about how pagination works, see List Pagination.
limit
- the value to setpublic ListAlertPolicyRulesRequest.Builder page(String page)
For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous “List” call. For details about how pagination works, see List Pagination.
page
- the value to setpublic ListAlertPolicyRulesRequest.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 ListAlertPolicyRulesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListAlertPolicyRulesRequest.Builder copy(ListAlertPolicyRulesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListAlertPolicyRulesRequest,Void>
o
- other request from which to copy valuespublic ListAlertPolicyRulesRequest build()
Build the instance of ListAlertPolicyRulesRequest 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<ListAlertPolicyRulesRequest,Void>
public ListAlertPolicyRulesRequest buildWithoutInvocationCallback()
Build the instance of ListAlertPolicyRulesRequest 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–2025. All rights reserved.