Package com.oracle.bmc.database.requests
Class ListFlexComponentsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.ListFlexComponentsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListFlexComponentsRequest,Void>
- Enclosing class:
- ListFlexComponentsRequest
public static class ListFlexComponentsRequest.Builder extends Object implements BmcRequest.Builder<ListFlexComponentsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFlexComponentsRequest
build()
Build the instance of ListFlexComponentsRequest as configured by this builderListFlexComponentsRequest
buildWithoutInvocationCallback()
Build the instance of ListFlexComponentsRequest as configured by this builderListFlexComponentsRequest.Builder
compartmentId(String compartmentId)
The compartment OCID.ListFlexComponentsRequest.Builder
copy(ListFlexComponentsRequest o)
Copy method to populate the builder with values from the given instance.ListFlexComponentsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListFlexComponentsRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListFlexComponentsRequest.Builder
name(String name)
A filter to return only resources that match the entire name given.ListFlexComponentsRequest.Builder
page(String page)
The pagination token to continue listing from.ListFlexComponentsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListFlexComponentsRequest.Builder
shape(String shape)
A filter to return only resources that belong to the entire shape name given.ListFlexComponentsRequest.Builder
sortBy(ListFlexComponentsRequest.SortBy sortBy)
The field to sort by.ListFlexComponentsRequest.Builder
sortOrder(ListFlexComponentsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).-
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 ListFlexComponentsRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
name
public ListFlexComponentsRequest.Builder name(String name)
A filter to return only resources that match the entire name given.The match is not case sensitive.
- Parameters:
name
- the value to set- Returns:
- this builder instance
-
shape
public ListFlexComponentsRequest.Builder shape(String shape)
A filter to return only resources that belong to the entire shape name given.The match is not case sensitive.
- Parameters:
shape
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListFlexComponentsRequest.Builder sortOrder(ListFlexComponentsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListFlexComponentsRequest.Builder sortBy(ListFlexComponentsRequest.SortBy sortBy)
The field to sort by.You can provide one sort order (sortOrder). Default order for NAME is ascending. The NAME sort order is case sensitive.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
limit
public ListFlexComponentsRequest.Builder limit(Integer limit)
The maximum number of items to return per page.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListFlexComponentsRequest.Builder page(String page)
The pagination token to continue listing from.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListFlexComponentsRequest.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 ListFlexComponentsRequest.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 ListFlexComponentsRequest.Builder copy(ListFlexComponentsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListFlexComponentsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListFlexComponentsRequest build()
Build the instance of ListFlexComponentsRequest 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<ListFlexComponentsRequest,Void>
- Returns:
- instance of ListFlexComponentsRequest
-
buildWithoutInvocationCallback
public ListFlexComponentsRequest buildWithoutInvocationCallback()
Build the instance of ListFlexComponentsRequest 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 ListFlexComponentsRequest
-
-