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