Package com.oracle.bmc.devops.responses
Class GetPullRequestNotificationPreferenceResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.responses.GetPullRequestNotificationPreferenceResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<GetPullRequestNotificationPreferenceResponse>
 - Enclosing class:
- GetPullRequestNotificationPreferenceResponse
 
 public static class GetPullRequestNotificationPreferenceResponse.Builder extends Object implements BmcResponse.Builder<GetPullRequestNotificationPreferenceResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPullRequestNotificationPreferenceResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetPullRequestNotificationPreferenceResponsebuild()Build the response object.GetPullRequestNotificationPreferenceResponse.Buildercopy(GetPullRequestNotificationPreferenceResponse o)Copy method to populate the builder with values from the given instance.GetPullRequestNotificationPreferenceResponse.Builderetag(String etag)For optimistic concurrency control.GetPullRequestNotificationPreferenceResponse.Builderheaders(Map<String,List<String>> headers)GetPullRequestNotificationPreferenceResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetPullRequestNotificationPreferenceResponse.BuilderpullRequestNotificationPreference(PullRequestNotificationPreference pullRequestNotificationPreference)The returned PullRequestNotificationPreference instance.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public GetPullRequestNotificationPreferenceResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<GetPullRequestNotificationPreferenceResponse>
 
 - 
headerspublic GetPullRequestNotificationPreferenceResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<GetPullRequestNotificationPreferenceResponse>
 
 - 
etagpublic GetPullRequestNotificationPreferenceResponse.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic GetPullRequestNotificationPreferenceResponse.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
 
 - 
pullRequestNotificationPreferencepublic GetPullRequestNotificationPreferenceResponse.Builder pullRequestNotificationPreference(PullRequestNotificationPreference pullRequestNotificationPreference) The returned PullRequestNotificationPreference instance.- Parameters:
- pullRequestNotificationPreference- the value to set
- Returns:
- this builder
 
 - 
copypublic GetPullRequestNotificationPreferenceResponse.Builder copy(GetPullRequestNotificationPreferenceResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<GetPullRequestNotificationPreferenceResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic GetPullRequestNotificationPreferenceResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<GetPullRequestNotificationPreferenceResponse>
- Returns:
- the response object
 
 
- 
 
-