Package com.oracle.bmc.dataflow.requests
Class ListApplicationsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.requests.ListApplicationsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListApplicationsRequest,Void>
- Enclosing class:
- ListApplicationsRequest
public static class ListApplicationsRequest.Builder extends Object implements BmcRequest.Builder<ListApplicationsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListApplicationsRequest
build()
Build the instance of ListApplicationsRequest as configured by this builderListApplicationsRequest
buildWithoutInvocationCallback()
Build the instance of ListApplicationsRequest as configured by this builderListApplicationsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ListApplicationsRequest.Builder
copy(ListApplicationsRequest o)
Copy method to populate the builder with values from the given instance.ListApplicationsRequest.Builder
displayName(String displayName)
The query parameter for the Spark application name.ListApplicationsRequest.Builder
displayNameStartsWith(String displayNameStartsWith)
The displayName prefix.ListApplicationsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListApplicationsRequest.Builder
limit(Integer limit)
The maximum number of results to return in a paginated List call.ListApplicationsRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListApplicationsRequest.Builder
ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.ListApplicationsRequest.Builder
page(String page)
The value of the opc-next-page or opc-prev-page response header from the last List call to sent back to server for getting the next page of results.ListApplicationsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListApplicationsRequest.Builder
sortBy(ListApplicationsRequest.SortBy sortBy)
The field used to sort the results.ListApplicationsRequest.Builder
sortOrder(ListApplicationsRequest.SortOrder sortOrder)
The ordering of results in ascending or descending order.ListApplicationsRequest.Builder
sparkVersion(String sparkVersion)
The Spark version utilized to run the application.-
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 ListApplicationsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListApplicationsRequest.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
-
limit
public ListApplicationsRequest.Builder limit(Integer limit)
The maximum number of results to return in a paginated List call.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListApplicationsRequest.Builder page(String page)
The value of the opc-next-page or opc-prev-page response header from the last List call to sent back to server for getting the next page of results.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortBy
public ListApplicationsRequest.Builder sortBy(ListApplicationsRequest.SortBy sortBy)
The field used to sort the results.Multiple fields are not supported.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListApplicationsRequest.Builder sortOrder(ListApplicationsRequest.SortOrder sortOrder)
The ordering of results in ascending or descending order.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
displayName
public ListApplicationsRequest.Builder displayName(String displayName)
The query parameter for the Spark application name.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
ownerPrincipalId
public ListApplicationsRequest.Builder ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.- Parameters:
ownerPrincipalId
- the value to set- Returns:
- this builder instance
-
displayNameStartsWith
public ListApplicationsRequest.Builder displayNameStartsWith(String displayNameStartsWith)
The displayName prefix.- Parameters:
displayNameStartsWith
- the value to set- Returns:
- this builder instance
-
sparkVersion
public ListApplicationsRequest.Builder sparkVersion(String sparkVersion)
The Spark version utilized to run the application.- Parameters:
sparkVersion
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListApplicationsRequest.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 ListApplicationsRequest.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 ListApplicationsRequest.Builder copy(ListApplicationsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListApplicationsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListApplicationsRequest build()
Build the instance of ListApplicationsRequest 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<ListApplicationsRequest,Void>
- Returns:
- instance of ListApplicationsRequest
-
buildWithoutInvocationCallback
public ListApplicationsRequest buildWithoutInvocationCallback()
Build the instance of ListApplicationsRequest 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 ListApplicationsRequest
-
-