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