Class ListLoadBalancerHealthsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.requests.ListLoadBalancerHealthsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListLoadBalancerHealthsRequest,Void>
- Enclosing class:
- ListLoadBalancerHealthsRequest
public static class ListLoadBalancerHealthsRequest.Builder extends Object implements BmcRequest.Builder<ListLoadBalancerHealthsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListLoadBalancerHealthsRequestbuild()Build the instance of ListLoadBalancerHealthsRequest as configured by this builderListLoadBalancerHealthsRequestbuildWithoutInvocationCallback()Build the instance of ListLoadBalancerHealthsRequest as configured by this builderListLoadBalancerHealthsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the load balancers to return health status information for.ListLoadBalancerHealthsRequest.Buildercopy(ListLoadBalancerHealthsRequest o)Copy method to populate the builder with values from the given instance.ListLoadBalancerHealthsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListLoadBalancerHealthsRequest.Builderlimit(Long limit)For list pagination.ListLoadBalancerHealthsRequest.BuilderopcRequestId(String opcRequestId)The unique Oracle-assigned identifier for the request.ListLoadBalancerHealthsRequest.Builderpage(String page)For list pagination.ListLoadBalancerHealthsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.-
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
-
compartmentId
public ListLoadBalancerHealthsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the load balancers to return health status information for.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListLoadBalancerHealthsRequest.Builder opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
limit
public ListLoadBalancerHealthsRequest.Builder limit(Long limit)
For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.
Example: 50
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListLoadBalancerHealthsRequest.Builder page(String page)
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.
Example: 3
- Parameters:
page- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListLoadBalancerHealthsRequest.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 ListLoadBalancerHealthsRequest.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 ListLoadBalancerHealthsRequest.Builder copy(ListLoadBalancerHealthsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListLoadBalancerHealthsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListLoadBalancerHealthsRequest build()
Build the instance of ListLoadBalancerHealthsRequest 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:
buildin interfaceBmcRequest.Builder<ListLoadBalancerHealthsRequest,Void>- Returns:
- instance of ListLoadBalancerHealthsRequest
-
buildWithoutInvocationCallback
public ListLoadBalancerHealthsRequest buildWithoutInvocationCallback()
Build the instance of ListLoadBalancerHealthsRequest 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 ListLoadBalancerHealthsRequest
-
-