public static class ListViewsRequest.Builder extends Object implements BmcRequest.Builder<ListViewsRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListViewsRequest |
build()
Build the instance of ListViewsRequest as configured by this builder
|
ListViewsRequest |
buildWithoutInvocationCallback() |
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(Consumer<javax.ws.rs.client.Invocation.Builder> 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.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListViewsRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> 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.util.internal.Consumer)
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.Builder compartmentId(String compartmentId)
The OCID of the compartment the resource belongs to.
this
.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.
this
.public ListViewsRequest.Builder displayName(String displayName)
The displayName of a resource.
this
.public ListViewsRequest.Builder id(String id)
The OCID of a resource.
this
.public ListViewsRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
this
.public ListViewsRequest.Builder limit(Long limit)
The maximum number of items to return in a page of the collection.
this
.public ListViewsRequest.Builder sortOrder(SortOrder sortOrder)
The order to sort the resources.
this
.public ListViewsRequest.Builder sortBy(ListViewsRequest.SortBy sortBy)
The field by which to sort views.
this
.public ListViewsRequest.Builder lifecycleState(ViewSummary.LifecycleState lifecycleState)
The state of a resource.
this
.public ListViewsRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
this
.public ListViewsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.