Package com.oracle.bmc.dns.requests
Class ListResolverEndpointsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.requests.ListResolverEndpointsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListResolverEndpointsRequest,Void>
- Enclosing class:
- ListResolverEndpointsRequest
public static class ListResolverEndpointsRequest.Builder extends Object implements BmcRequest.Builder<ListResolverEndpointsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListResolverEndpointsRequest
build()
Build the instance of ListResolverEndpointsRequest as configured by this builderListResolverEndpointsRequest
buildWithoutInvocationCallback()
Build the instance of ListResolverEndpointsRequest as configured by this builderListResolverEndpointsRequest.Builder
copy(ListResolverEndpointsRequest o)
Copy method to populate the builder with values from the given instance.ListResolverEndpointsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListResolverEndpointsRequest.Builder
lifecycleState(ResolverEndpointSummary.LifecycleState lifecycleState)
The state of a resource.ListResolverEndpointsRequest.Builder
limit(Long limit)
The maximum number of items to return in a page of the collection.ListResolverEndpointsRequest.Builder
name(String name)
The name of a resource.ListResolverEndpointsRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListResolverEndpointsRequest.Builder
page(String page)
The value of the opc-next-page response header from the previous “List” call.ListResolverEndpointsRequest.Builder
resolverId(String resolverId)
The OCID of the target resolver.ListResolverEndpointsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListResolverEndpointsRequest.Builder
scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.ListResolverEndpointsRequest.Builder
sortBy(ListResolverEndpointsRequest.SortBy sortBy)
The field by which to sort resolver endpoints.ListResolverEndpointsRequest.Builder
sortOrder(SortOrder sortOrder)
The order to sort the resources.-
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
-
resolverId
public ListResolverEndpointsRequest.Builder resolverId(String resolverId)
The OCID of the target resolver.- Parameters:
resolverId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListResolverEndpointsRequest.Builder opcRequestId(String opcRequestId)
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
-
name
public ListResolverEndpointsRequest.Builder name(String name)
The name of a resource.- Parameters:
name
- the value to set- Returns:
- this builder instance
-
page
public ListResolverEndpointsRequest.Builder page(String page)
The value of the opc-next-page response header from the previous “List” call.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
limit
public ListResolverEndpointsRequest.Builder limit(Long limit)
The maximum number of items to return in a page of the collection.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListResolverEndpointsRequest.Builder sortOrder(SortOrder sortOrder)
The order to sort the resources.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListResolverEndpointsRequest.Builder sortBy(ListResolverEndpointsRequest.SortBy sortBy)
The field by which to sort resolver endpoints.- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListResolverEndpointsRequest.Builder lifecycleState(ResolverEndpointSummary.LifecycleState lifecycleState)
The state of a resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
scope
public ListResolverEndpointsRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.- Parameters:
scope
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListResolverEndpointsRequest.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 ListResolverEndpointsRequest.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 ListResolverEndpointsRequest.Builder copy(ListResolverEndpointsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListResolverEndpointsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListResolverEndpointsRequest build()
Build the instance of ListResolverEndpointsRequest 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<ListResolverEndpointsRequest,Void>
- Returns:
- instance of ListResolverEndpointsRequest
-
buildWithoutInvocationCallback
public ListResolverEndpointsRequest buildWithoutInvocationCallback()
Build the instance of ListResolverEndpointsRequest 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 ListResolverEndpointsRequest
-
-