Package com.oracle.bmc.devops.requests
Class UpdatePullRequestCommentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.requests.UpdatePullRequestCommentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdatePullRequestCommentRequest,UpdatePullRequestCommentDetails>
- Enclosing class:
- UpdatePullRequestCommentRequest
public static class UpdatePullRequestCommentRequest.Builder extends Object implements BmcRequest.Builder<UpdatePullRequestCommentRequest,UpdatePullRequestCommentDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdatePullRequestCommentRequest.Builder
body$(UpdatePullRequestCommentDetails body)
Alternative setter for the body parameter.UpdatePullRequestCommentRequest
build()
Build the instance of UpdatePullRequestCommentRequest as configured by this builderUpdatePullRequestCommentRequest
buildWithoutInvocationCallback()
Build the instance of UpdatePullRequestCommentRequest as configured by this builderUpdatePullRequestCommentRequest.Builder
commentId(String commentId)
unique PullRequest Comment identifierUpdatePullRequestCommentRequest.Builder
copy(UpdatePullRequestCommentRequest o)
Copy method to populate the builder with values from the given instance.UpdatePullRequestCommentRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.UpdatePullRequestCommentRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdatePullRequestCommentRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.UpdatePullRequestCommentRequest.Builder
pullRequestId(String pullRequestId)
unique PullRequest identifierUpdatePullRequestCommentRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdatePullRequestCommentRequest.Builder
updatePullRequestCommentDetails(UpdatePullRequestCommentDetails updatePullRequestCommentDetails)
The new comment content to be updated.
-
-
-
Method Detail
-
pullRequestId
public UpdatePullRequestCommentRequest.Builder pullRequestId(String pullRequestId)
unique PullRequest identifier- Parameters:
pullRequestId
- the value to set- Returns:
- this builder instance
-
commentId
public UpdatePullRequestCommentRequest.Builder commentId(String commentId)
unique PullRequest Comment identifier- Parameters:
commentId
- the value to set- Returns:
- this builder instance
-
updatePullRequestCommentDetails
public UpdatePullRequestCommentRequest.Builder updatePullRequestCommentDetails(UpdatePullRequestCommentDetails updatePullRequestCommentDetails)
The new comment content to be updated.- Parameters:
updatePullRequestCommentDetails
- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdatePullRequestCommentRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch
- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdatePullRequestCommentRequest.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 UpdatePullRequestCommentRequest.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 UpdatePullRequestCommentRequest.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 UpdatePullRequestCommentRequest.Builder copy(UpdatePullRequestCommentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdatePullRequestCommentRequest,UpdatePullRequestCommentDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdatePullRequestCommentRequest build()
Build the instance of UpdatePullRequestCommentRequest 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<UpdatePullRequestCommentRequest,UpdatePullRequestCommentDetails>
- Returns:
- instance of UpdatePullRequestCommentRequest
-
body$
public UpdatePullRequestCommentRequest.Builder body$(UpdatePullRequestCommentDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdatePullRequestCommentRequest,UpdatePullRequestCommentDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdatePullRequestCommentRequest buildWithoutInvocationCallback()
Build the instance of UpdatePullRequestCommentRequest 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 UpdatePullRequestCommentRequest
-
-