Package com.oracle.bmc.dataflow.requests
Class ListRunsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.requests.ListRunsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListRunsRequest,Void>
- Enclosing class:
- ListRunsRequest
public static class ListRunsRequest.Builder extends Object implements BmcRequest.Builder<ListRunsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRunsRequest.BuilderapplicationId(String applicationId)The ID of the application.ListRunsRequestbuild()Build the instance of ListRunsRequest as configured by this builderListRunsRequestbuildWithoutInvocationCallback()Build the instance of ListRunsRequest as configured by this builderListRunsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment.ListRunsRequest.Buildercopy(ListRunsRequest o)Copy method to populate the builder with values from the given instance.ListRunsRequest.BuilderdisplayName(String displayName)The query parameter for the Spark application name.ListRunsRequest.BuilderdisplayNameStartsWith(String displayNameStartsWith)The displayName prefix.ListRunsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListRunsRequest.BuilderlifecycleState(RunLifecycleState lifecycleState)The LifecycleState of the run.ListRunsRequest.Builderlimit(Integer limit)The maximum number of results to return in a paginated List call.ListRunsRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListRunsRequest.BuilderownerPrincipalId(String ownerPrincipalId)The OCID of the user who created the resource.ListRunsRequest.Builderpage(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.ListRunsRequest.BuilderpoolId(String poolId)The ID of the pool.ListRunsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListRunsRequest.BuildersortBy(ListRunsRequest.SortBy sortBy)The field used to sort the results.ListRunsRequest.BuildersortOrder(ListRunsRequest.SortOrder sortOrder)The ordering of results in ascending or descending order.ListRunsRequest.BuildertimeCreatedGreaterThan(Date timeCreatedGreaterThan)The epoch time that the resource was created.-
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 ListRunsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListRunsRequest.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
-
applicationId
public ListRunsRequest.Builder applicationId(String applicationId)
The ID of the application.- Parameters:
applicationId- the value to set- Returns:
- this builder instance
-
poolId
public ListRunsRequest.Builder poolId(String poolId)
The ID of the pool.- Parameters:
poolId- the value to set- Returns:
- this builder instance
-
ownerPrincipalId
public ListRunsRequest.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 ListRunsRequest.Builder displayNameStartsWith(String displayNameStartsWith)
The displayName prefix.- Parameters:
displayNameStartsWith- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListRunsRequest.Builder lifecycleState(RunLifecycleState lifecycleState)
The LifecycleState of the run.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
timeCreatedGreaterThan
public ListRunsRequest.Builder timeCreatedGreaterThan(Date timeCreatedGreaterThan)
The epoch time that the resource was created.- Parameters:
timeCreatedGreaterThan- the value to set- Returns:
- this builder instance
-
limit
public ListRunsRequest.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 ListRunsRequest.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 ListRunsRequest.Builder sortBy(ListRunsRequest.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 ListRunsRequest.Builder sortOrder(ListRunsRequest.SortOrder sortOrder)
The ordering of results in ascending or descending order.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
displayName
public ListRunsRequest.Builder displayName(String displayName)
The query parameter for the Spark application name.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListRunsRequest.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 ListRunsRequest.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 ListRunsRequest.Builder copy(ListRunsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListRunsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListRunsRequest build()
Build the instance of ListRunsRequest 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<ListRunsRequest,Void>- Returns:
- instance of ListRunsRequest
-
buildWithoutInvocationCallback
public ListRunsRequest buildWithoutInvocationCallback()
Build the instance of ListRunsRequest 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 ListRunsRequest
-
-