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.BuilderavailabilityDomain(String availabilityDomain)The target availability domain.ListGiVersionsRequestbuild()Build the instance of ListGiVersionsRequest as configured by this builderListGiVersionsRequestbuildWithoutInvocationCallback()Build the instance of ListGiVersionsRequest as configured by this builderListGiVersionsRequest.BuildercompartmentId(String compartmentId)The compartment OCID.ListGiVersionsRequest.Buildercopy(ListGiVersionsRequest o)Copy method to populate the builder with values from the given instance.ListGiVersionsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListGiVersionsRequest.Builderlimit(Integer limit)The maximum number of items to return per page.ListGiVersionsRequest.Builderpage(String page)The pagination token to continue listing from.ListGiVersionsRequest.BuilderresourceId(String resourceId)If provided, filters the results for the specified resource Id.ListGiVersionsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListGiVersionsRequest.Buildershape(String shape)If provided, filters the results for the given shape.ListGiVersionsRequest.BuildershapeAttribute(String shapeAttribute)If provided and applicable, return DB System shape parameters based on the shapeAttribute providedListGiVersionsRequest.BuildersortOrder(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
-
resourceId
public ListGiVersionsRequest.Builder resourceId(String resourceId)
If provided, filters the results for the specified resource Id.- Parameters:
resourceId- the value to set- Returns:
- this builder instance
-
shapeAttribute
public ListGiVersionsRequest.Builder shapeAttribute(String shapeAttribute)
If provided and applicable, return DB System shape parameters based on the shapeAttribute provided- Parameters:
shapeAttribute- 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:
copyin 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:
buildin 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
-
-