public static class ListViewsRequest.Builder extends Object implements BmcRequest.Builder<ListViewsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListViewsRequest |
build()
Build the instance of ListViewsRequest as configured by this builder
|
ListViewsRequest |
buildWithoutInvocationCallback()
Build the instance of ListViewsRequest as configured by this builder
|
ListViewsRequest.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListViewsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment the resource belongs to.
compartmentId
- the value to setpublic 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.
opcRequestId
- the value to setpublic ListViewsRequest.Builder displayName(String displayName)
The displayName of a resource.
displayName
- the value to setpublic ListViewsRequest.Builder id(String id)
The OCID of a resource.
id
- the value to setpublic ListViewsRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
page
- the value to setpublic ListViewsRequest.Builder limit(Long limit)
The maximum number of items to return in a page of the collection.
limit
- the value to setpublic ListViewsRequest.Builder sortOrder(SortOrder sortOrder)
The order to sort the resources.
sortOrder
- the value to setpublic ListViewsRequest.Builder sortBy(ListViewsRequest.SortBy sortBy)
The field by which to sort views.
sortBy
- the value to setpublic ListViewsRequest.Builder lifecycleState(ViewSummary.LifecycleState lifecycleState)
The state of a resource.
lifecycleState
- the value to setpublic ListViewsRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
scope
- the value to setpublic ListViewsRequest.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 ListViewsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListViewsRequest.Builder copy(ListViewsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListViewsRequest,Void>
o
- other request from which to copy valuespublic ListViewsRequest build()
Build the instance of ListViewsRequest 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<ListViewsRequest,Void>
public ListViewsRequest buildWithoutInvocationCallback()
Build the instance of ListViewsRequest 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–2024. All rights reserved.