Package com.oracle.bmc.database.requests
Class ListGiVersionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.ListGiVersionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListGiVersionsRequest,Void>
- Enclosing class:
- ListGiVersionsRequest
public static class ListGiVersionsRequest.Builder extends Object implements BmcRequest.Builder<ListGiVersionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListGiVersionsRequest.Builder
availabilityDomain(String availabilityDomain)
The target availability domain.ListGiVersionsRequest
build()
Build the instance of ListGiVersionsRequest as configured by this builderListGiVersionsRequest
buildWithoutInvocationCallback()
Build the instance of ListGiVersionsRequest as configured by this builderListGiVersionsRequest.Builder
compartmentId(String compartmentId)
The compartment OCID.ListGiVersionsRequest.Builder
copy(ListGiVersionsRequest o)
Copy method to populate the builder with values from the given instance.ListGiVersionsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListGiVersionsRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListGiVersionsRequest.Builder
page(String page)
The pagination token to continue listing from.ListGiVersionsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListGiVersionsRequest.Builder
shape(String shape)
If provided, filters the results for the given shape.ListGiVersionsRequest.Builder
sortOrder(ListGiVersionsRequest.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 ListGiVersionsRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
limit
public ListGiVersionsRequest.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 ListGiVersionsRequest.Builder page(String page)
The pagination token to continue listing from.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListGiVersionsRequest.Builder sortOrder(ListGiVersionsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
shape
public ListGiVersionsRequest.Builder shape(String shape)
If provided, filters the results for the given shape.- Parameters:
shape
- the value to set- Returns:
- this builder instance
-
availabilityDomain
public ListGiVersionsRequest.Builder availabilityDomain(String availabilityDomain)
The target availability domain.Only passed if the limit is AD-specific.
- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListGiVersionsRequest.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 ListGiVersionsRequest.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 ListGiVersionsRequest.Builder copy(ListGiVersionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListGiVersionsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListGiVersionsRequest build()
Build the instance of ListGiVersionsRequest 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<ListGiVersionsRequest,Void>
- Returns:
- instance of ListGiVersionsRequest
-
buildWithoutInvocationCallback
public ListGiVersionsRequest buildWithoutInvocationCallback()
Build the instance of ListGiVersionsRequest 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 ListGiVersionsRequest
-
-