Package com.oracle.bmc.devops.requests
Class ListPullRequestCommentsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.requests.ListPullRequestCommentsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListPullRequestCommentsRequest,Void>
- Enclosing class:
- ListPullRequestCommentsRequest
public static class ListPullRequestCommentsRequest.Builder extends Object implements BmcRequest.Builder<ListPullRequestCommentsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPullRequestCommentsRequestbuild()Build the instance of ListPullRequestCommentsRequest as configured by this builderListPullRequestCommentsRequestbuildWithoutInvocationCallback()Build the instance of ListPullRequestCommentsRequest as configured by this builderListPullRequestCommentsRequest.BuildercommentId(String commentId)unique PullRequest Comment identifierListPullRequestCommentsRequest.BuildercommitId(String commitId)PullRequest Comment Commit SHAListPullRequestCommentsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to list resources.ListPullRequestCommentsRequest.Buildercopy(ListPullRequestCommentsRequest o)Copy method to populate the builder with values from the given instance.ListPullRequestCommentsRequest.BuilderfilePath(String filePath)PullRequest File PathListPullRequestCommentsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListPullRequestCommentsRequest.Builderlimit(Integer limit)The maximum number of items to return.ListPullRequestCommentsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListPullRequestCommentsRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListPullRequestCommentsRequest.BuilderpullRequestId(String pullRequestId)unique PullRequest identifierListPullRequestCommentsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListPullRequestCommentsRequest.BuildersortBy(ListPullRequestCommentsRequest.SortBy sortBy)The field to sort by.ListPullRequestCommentsRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use.-
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
-
pullRequestId
public ListPullRequestCommentsRequest.Builder pullRequestId(String pullRequestId)
unique PullRequest identifier- Parameters:
pullRequestId- the value to set- Returns:
- this builder instance
-
compartmentId
public ListPullRequestCommentsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
sortOrder
public ListPullRequestCommentsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use.Use either ascending or descending.
- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListPullRequestCommentsRequest.Builder sortBy(ListPullRequestCommentsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order is ascending. If no value is specified timeCreated is default.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
commentId
public ListPullRequestCommentsRequest.Builder commentId(String commentId)
unique PullRequest Comment identifier- Parameters:
commentId- the value to set- Returns:
- this builder instance
-
commitId
public ListPullRequestCommentsRequest.Builder commitId(String commitId)
PullRequest Comment Commit SHA- Parameters:
commitId- the value to set- Returns:
- this builder instance
-
filePath
public ListPullRequestCommentsRequest.Builder filePath(String filePath)
PullRequest File Path- Parameters:
filePath- the value to set- Returns:
- this builder instance
-
limit
public ListPullRequestCommentsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListPullRequestCommentsRequest.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
-
opcRequestId
public ListPullRequestCommentsRequest.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.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListPullRequestCommentsRequest.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 ListPullRequestCommentsRequest.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 ListPullRequestCommentsRequest.Builder copy(ListPullRequestCommentsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListPullRequestCommentsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPullRequestCommentsRequest build()
Build the instance of ListPullRequestCommentsRequest 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<ListPullRequestCommentsRequest,Void>- Returns:
- instance of ListPullRequestCommentsRequest
-
buildWithoutInvocationCallback
public ListPullRequestCommentsRequest buildWithoutInvocationCallback()
Build the instance of ListPullRequestCommentsRequest 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 ListPullRequestCommentsRequest
-
-