public static class CreateOrUpdateProtectedBranchResponse.Builder extends Object implements BmcResponse.Builder<CreateOrUpdateProtectedBranchResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateOrUpdateProtectedBranchResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
CreateOrUpdateProtectedBranchResponse |
build()
Build the response object.
|
CreateOrUpdateProtectedBranchResponse.Builder |
copy(CreateOrUpdateProtectedBranchResponse o)
Copy method to populate the builder with values from the given instance.
|
CreateOrUpdateProtectedBranchResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
CreateOrUpdateProtectedBranchResponse.Builder |
headers(Map<String,List<String>> headers) |
CreateOrUpdateProtectedBranchResponse.Builder |
location(String location)
Relative URL of the newly created resource.
|
CreateOrUpdateProtectedBranchResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
CreateOrUpdateProtectedBranchResponse.Builder |
protectedBranch(ProtectedBranch protectedBranch)
The returned
ProtectedBranch instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public CreateOrUpdateProtectedBranchResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<CreateOrUpdateProtectedBranchResponse>
public CreateOrUpdateProtectedBranchResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<CreateOrUpdateProtectedBranchResponse>
public CreateOrUpdateProtectedBranchResponse.Builder location(String location)
Relative URL of the newly created resource.
location
- the value to setpublic CreateOrUpdateProtectedBranchResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic CreateOrUpdateProtectedBranchResponse.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 CreateOrUpdateProtectedBranchResponse.Builder protectedBranch(ProtectedBranch protectedBranch)
The returned ProtectedBranch
instance.
protectedBranch
- the value to setpublic CreateOrUpdateProtectedBranchResponse.Builder copy(CreateOrUpdateProtectedBranchResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<CreateOrUpdateProtectedBranchResponse>
o
- other request from which to copy valuespublic CreateOrUpdateProtectedBranchResponse build()
Build the response object.
build
in interface BmcResponse.Builder<CreateOrUpdateProtectedBranchResponse>
Copyright © 2016–2024. All rights reserved.