Package com.oracle.bmc.database.requests
Class ListDbSystemShapesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.ListDbSystemShapesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDbSystemShapesRequest,Void>
- Enclosing class:
- ListDbSystemShapesRequest
public static class ListDbSystemShapesRequest.Builder extends Object implements BmcRequest.Builder<ListDbSystemShapesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDbSystemShapesRequest.BuilderavailabilityDomain(String availabilityDomain)The name of the Availability Domain.ListDbSystemShapesRequestbuild()Build the instance of ListDbSystemShapesRequest as configured by this builderListDbSystemShapesRequestbuildWithoutInvocationCallback()Build the instance of ListDbSystemShapesRequest as configured by this builderListDbSystemShapesRequest.BuildercompartmentId(String compartmentId)The compartment OCID.ListDbSystemShapesRequest.Buildercopy(ListDbSystemShapesRequest o)Copy method to populate the builder with values from the given instance.ListDbSystemShapesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListDbSystemShapesRequest.Builderlimit(Integer limit)The maximum number of items to return per page.ListDbSystemShapesRequest.Builderpage(String page)The pagination token to continue listing from.ListDbSystemShapesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListDbSystemShapesRequest.BuildershapeAttribute(String shapeAttribute)If provided and applicable, return DB System shape parameters based on the shapeAttribute provided-
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 ListDbSystemShapesRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
availabilityDomain
public ListDbSystemShapesRequest.Builder availabilityDomain(String availabilityDomain)
The name of the Availability Domain.- Parameters:
availabilityDomain- the value to set- Returns:
- this builder instance
-
limit
public ListDbSystemShapesRequest.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 ListDbSystemShapesRequest.Builder page(String page)
The pagination token to continue listing from.- Parameters:
page- the value to set- Returns:
- this builder instance
-
shapeAttribute
public ListDbSystemShapesRequest.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 ListDbSystemShapesRequest.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 ListDbSystemShapesRequest.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 ListDbSystemShapesRequest.Builder copy(ListDbSystemShapesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListDbSystemShapesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDbSystemShapesRequest build()
Build the instance of ListDbSystemShapesRequest 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<ListDbSystemShapesRequest,Void>- Returns:
- instance of ListDbSystemShapesRequest
-
buildWithoutInvocationCallback
public ListDbSystemShapesRequest buildWithoutInvocationCallback()
Build the instance of ListDbSystemShapesRequest 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 ListDbSystemShapesRequest
-
-