Class ListSdksRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.apigateway.requests.ListSdksRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSdksRequest,Void>
- Enclosing class:
- ListSdksRequest
public static class ListSdksRequest.Builder extends Object implements BmcRequest.Builder<ListSdksRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSdksRequest.Builder
apiId(String apiId)
The ocid of the API.ListSdksRequest
build()
Build the instance of ListSdksRequest as configured by this builderListSdksRequest
buildWithoutInvocationCallback()
Build the instance of ListSdksRequest as configured by this builderListSdksRequest.Builder
copy(ListSdksRequest o)
Copy method to populate the builder with values from the given instance.ListSdksRequest.Builder
displayName(String displayName)
A user-friendly name.ListSdksRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListSdksRequest.Builder
lifecycleState(Sdk.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state.ListSdksRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListSdksRequest.Builder
opcRequestId(String opcRequestId)
The client request id for tracing.ListSdksRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListSdksRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListSdksRequest.Builder
sdkId(String sdkId)
The ocid of the SDK.ListSdksRequest.Builder
sortBy(ListSdksRequest.SortBy sortBy)
The field to sort by.ListSdksRequest.Builder
sortOrder(ListSdksRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘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
-
sdkId
public ListSdksRequest.Builder sdkId(String sdkId)
The ocid of the SDK.- Parameters:
sdkId
- the value to set- Returns:
- this builder instance
-
displayName
public ListSdksRequest.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable.
Example: My new resource
- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListSdksRequest.Builder lifecycleState(Sdk.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state.Example: ACTIVE or DELETED
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
limit
public ListSdksRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListSdksRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListSdksRequest.Builder sortOrder(ListSdksRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.The default order depends on the sortBy value.
- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListSdksRequest.Builder sortBy(ListSdksRequest.SortBy sortBy)
The field to sort by.You can provide one sort order (sortOrder). Default order for timeCreated is descending. Default order for displayName is ascending. The displayName sort order is case sensitive.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
apiId
public ListSdksRequest.Builder apiId(String apiId)
The ocid of the API.- Parameters:
apiId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListSdksRequest.Builder opcRequestId(String opcRequestId)
The client request id for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSdksRequest.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 ListSdksRequest.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 ListSdksRequest.Builder copy(ListSdksRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListSdksRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSdksRequest build()
Build the instance of ListSdksRequest 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<ListSdksRequest,Void>
- Returns:
- instance of ListSdksRequest
-
buildWithoutInvocationCallback
public ListSdksRequest buildWithoutInvocationCallback()
Build the instance of ListSdksRequest 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 ListSdksRequest
-
-