public static class ListEnrollmentStatusesRequest.Builder extends Object implements BmcRequest.Builder<ListEnrollmentStatusesRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListEnrollmentStatusesRequest |
build()
Build the instance of ListEnrollmentStatusesRequest as configured by this builder
|
ListEnrollmentStatusesRequest |
buildWithoutInvocationCallback() |
ListEnrollmentStatusesRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
ListEnrollmentStatusesRequest.Builder |
copy(ListEnrollmentStatusesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListEnrollmentStatusesRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListEnrollmentStatusesRequest.Builder |
lifecycleState(LifecycleState lifecycleState)
A filter that returns results that match the lifecycle state specified.
|
ListEnrollmentStatusesRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
|
ListEnrollmentStatusesRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListEnrollmentStatusesRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous “List” call. |
ListEnrollmentStatusesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListEnrollmentStatusesRequest.Builder |
sortBy(ListEnrollmentStatusesRequest.SortBy sortBy)
The field to sort by.
|
ListEnrollmentStatusesRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
ListEnrollmentStatusesRequest.Builder |
status(OptimizerEnrollmentStatus status)
A filter that returns results that match the Cloud Advisor enrollment status specified.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListEnrollmentStatusesRequest.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 ListEnrollmentStatusesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListEnrollmentStatusesRequest.Builder copy(ListEnrollmentStatusesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListEnrollmentStatusesRequest,Void>
o
- other request from which to copy valuespublic ListEnrollmentStatusesRequest build()
Build the instance of ListEnrollmentStatusesRequest 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<ListEnrollmentStatusesRequest,Void>
public ListEnrollmentStatusesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
this
.public ListEnrollmentStatusesRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
this
.public ListEnrollmentStatusesRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
this
.public ListEnrollmentStatusesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
this
.public ListEnrollmentStatusesRequest.Builder sortBy(ListEnrollmentStatusesRequest.SortBy sortBy)
The field to sort by. You can provide one sort order (sortOrder
). Default order for TIMECREATED is descending. Default order for NAME is ascending. The NAME sort order is case sensitive.
this
.public ListEnrollmentStatusesRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter that returns results that match the lifecycle state specified.
this
.public ListEnrollmentStatusesRequest.Builder status(OptimizerEnrollmentStatus status)
A filter that returns results that match the Cloud Advisor enrollment status specified.
this
.public ListEnrollmentStatusesRequest.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 ListEnrollmentStatusesRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.