Class ListSqlEndpointsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.requests.ListSqlEndpointsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSqlEndpointsRequest,Void>
- Enclosing class:
- ListSqlEndpointsRequest
public static class ListSqlEndpointsRequest.Builder extends Object implements BmcRequest.Builder<ListSqlEndpointsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSqlEndpointsRequest
build()
Build the instance of ListSqlEndpointsRequest as configured by this builderListSqlEndpointsRequest
buildWithoutInvocationCallback()
Build the instance of ListSqlEndpointsRequest as configured by this builderListSqlEndpointsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which to query resources.ListSqlEndpointsRequest.Builder
copy(ListSqlEndpointsRequest o)
Copy method to populate the builder with values from the given instance.ListSqlEndpointsRequest.Builder
displayName(String displayName)
The query parameter for the Spark application name.ListSqlEndpointsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListSqlEndpointsRequest.Builder
lifecycleState(SqlEndpointLifecycleState lifecycleState)
A filter to return only those resources whose sqlEndpointLifecycleState matches the given sqlEndpointLifecycleState.ListSqlEndpointsRequest.Builder
limit(Integer limit)
The maximum number of items that can be returned.ListSqlEndpointsRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListSqlEndpointsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListSqlEndpointsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListSqlEndpointsRequest.Builder
sortBy(ListSqlEndpointsRequest.SortBy sortBy)
The field to sort by.ListSqlEndpointsRequest.Builder
sortOrder(ListSqlEndpointsRequest.SortOrder sortOrder)
The ordering of results in ascending or descending order.ListSqlEndpointsRequest.Builder
sqlEndpointId(String sqlEndpointId)
The unique id of the SQL Endpoint.-
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 ListSqlEndpointsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to query resources.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
sqlEndpointId
public ListSqlEndpointsRequest.Builder sqlEndpointId(String sqlEndpointId)
The unique id of the SQL Endpoint.- Parameters:
sqlEndpointId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListSqlEndpointsRequest.Builder lifecycleState(SqlEndpointLifecycleState lifecycleState)
A filter to return only those resources whose sqlEndpointLifecycleState matches the given sqlEndpointLifecycleState.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
displayName
public ListSqlEndpointsRequest.Builder displayName(String displayName)
The query parameter for the Spark application name.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
limit
public ListSqlEndpointsRequest.Builder limit(Integer limit)
The maximum number of items that can be returned.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListSqlEndpointsRequest.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 ListSqlEndpointsRequest.Builder sortOrder(ListSqlEndpointsRequest.SortOrder sortOrder)
The ordering of results in ascending or descending order.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListSqlEndpointsRequest.Builder sortBy(ListSqlEndpointsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. The default order for timeCreated is descending. The default order for displayName is ascending. If no value is specified timeCreated is used by default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListSqlEndpointsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.If provided, the returned request ID will include this value. Otherwise, a random request ID will be generated by the service.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSqlEndpointsRequest.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 ListSqlEndpointsRequest.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 ListSqlEndpointsRequest.Builder copy(ListSqlEndpointsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListSqlEndpointsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSqlEndpointsRequest build()
Build the instance of ListSqlEndpointsRequest 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<ListSqlEndpointsRequest,Void>
- Returns:
- instance of ListSqlEndpointsRequest
-
buildWithoutInvocationCallback
public ListSqlEndpointsRequest buildWithoutInvocationCallback()
Build the instance of ListSqlEndpointsRequest 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 ListSqlEndpointsRequest
-
-