public static class ListGiVersionsRequest.Builder extends Object implements BmcRequest.Builder<ListGiVersionsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListGiVersionsRequest.Builder |
availabilityDomain(String availabilityDomain)
The target availability domain.
|
ListGiVersionsRequest |
build()
Build the instance of ListGiVersionsRequest as configured by this builder
|
ListGiVersionsRequest |
buildWithoutInvocationCallback()
Build the instance of ListGiVersionsRequest as configured by this builder
|
ListGiVersionsRequest.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 ). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListGiVersionsRequest.Builder compartmentId(String compartmentId)
The compartment OCID.
compartmentId
- the value to setpublic ListGiVersionsRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
limit
- the value to setpublic ListGiVersionsRequest.Builder page(String page)
The pagination token to continue listing from.
page
- the value to setpublic ListGiVersionsRequest.Builder sortOrder(ListGiVersionsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
sortOrder
- the value to setpublic ListGiVersionsRequest.Builder shape(String shape)
If provided, filters the results for the given shape.
shape
- the value to setpublic ListGiVersionsRequest.Builder availabilityDomain(String availabilityDomain)
The target availability domain. Only passed if the limit is AD-specific.
availabilityDomain
- the value to setpublic ListGiVersionsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListGiVersionsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListGiVersionsRequest.Builder copy(ListGiVersionsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListGiVersionsRequest,Void>
o
- other request from which to copy valuespublic ListGiVersionsRequest build()
Build the instance of ListGiVersionsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListGiVersionsRequest,Void>
public ListGiVersionsRequest buildWithoutInvocationCallback()
Build the instance of ListGiVersionsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.