public static class ListPullRequestsRequest.Builder extends Object implements BmcRequest.Builder<ListPullRequestsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListPullRequestsRequest |
build()
Build the instance of ListPullRequestsRequest as configured by this builder
|
ListPullRequestsRequest |
buildWithoutInvocationCallback()
Build the instance of ListPullRequestsRequest as configured by this builder
|
ListPullRequestsRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.
|
ListPullRequestsRequest.Builder |
copy(ListPullRequestsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListPullRequestsRequest.Builder |
createdBy(String createdBy)
PullRequest Created By
|
ListPullRequestsRequest.Builder |
destinationBranch(String destinationBranch)
PullRequest Target Branch
|
ListPullRequestsRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the entire display name given.
|
ListPullRequestsRequest.Builder |
id(String id)
Unique identifier or OCID for listing a single resource by ID.
|
ListPullRequestsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListPullRequestsRequest.Builder |
lifecycleDetails(PullRequest.LifecycleDetails lifecycleDetails)
A filter to return only pull requests that match the given lifecycle state.
|
ListPullRequestsRequest.Builder |
lifecycleState(PullRequest.LifecycleState lifecycleState)
A filter to return only pull requests that match the given lifecycle state.
|
ListPullRequestsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListPullRequestsRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListPullRequestsRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListPullRequestsRequest.Builder |
repositoryId(String repositoryId)
The OCID of the repository in which to list resources.
|
ListPullRequestsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListPullRequestsRequest.Builder |
reviewerPrincipalId(String reviewerPrincipalId)
PullRequest Reviewer Id
|
ListPullRequestsRequest.Builder |
sortBy(ListPullRequestsRequest.SortBy sortBy)
The field to sort by.
|
ListPullRequestsRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use.
|
ListPullRequestsRequest.Builder |
sourceBranch(String sourceBranch)
PullRequest Source Branch.
|
ListPullRequestsRequest.Builder |
sourceRepositoryId(String sourceRepositoryId)
PullRequest Source Repository Id
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListPullRequestsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.
compartmentId
- the value to setpublic ListPullRequestsRequest.Builder lifecycleState(PullRequest.LifecycleState lifecycleState)
A filter to return only pull requests that match the given lifecycle state.
lifecycleState
- the value to setpublic ListPullRequestsRequest.Builder lifecycleDetails(PullRequest.LifecycleDetails lifecycleDetails)
A filter to return only pull requests that match the given lifecycle state.
lifecycleDetails
- the value to setpublic ListPullRequestsRequest.Builder repositoryId(String repositoryId)
The OCID of the repository in which to list resources.
repositoryId
- the value to setpublic ListPullRequestsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.
displayName
- the value to setpublic ListPullRequestsRequest.Builder id(String id)
Unique identifier or OCID for listing a single resource by ID.
id
- the value to setpublic ListPullRequestsRequest.Builder createdBy(String createdBy)
PullRequest Created By
createdBy
- the value to setpublic ListPullRequestsRequest.Builder destinationBranch(String destinationBranch)
PullRequest Target Branch
destinationBranch
- the value to setpublic ListPullRequestsRequest.Builder sourceBranch(String sourceBranch)
PullRequest Source Branch.
sourceBranch
- the value to setpublic ListPullRequestsRequest.Builder reviewerPrincipalId(String reviewerPrincipalId)
PullRequest Reviewer Id
reviewerPrincipalId
- the value to setpublic ListPullRequestsRequest.Builder sourceRepositoryId(String sourceRepositoryId)
PullRequest Source Repository Id
sourceRepositoryId
- the value to setpublic ListPullRequestsRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic ListPullRequestsRequest.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.
page
- the value to setpublic ListPullRequestsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use. Use either ascending or descending.
sortOrder
- the value to setpublic ListPullRequestsRequest.Builder sortBy(ListPullRequestsRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.
sortBy
- the value to setpublic ListPullRequestsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
opcRequestId
- the value to setpublic ListPullRequestsRequest.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 ListPullRequestsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListPullRequestsRequest.Builder copy(ListPullRequestsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListPullRequestsRequest,Void>
o
- other request from which to copy valuespublic ListPullRequestsRequest build()
Build the instance of ListPullRequestsRequest 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<ListPullRequestsRequest,Void>
public ListPullRequestsRequest buildWithoutInvocationCallback()
Build the instance of ListPullRequestsRequest 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.