public static class GetRefResponse.Builder extends Object implements BmcResponse.Builder<GetRefResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetRefResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
GetRefResponse |
build()
Build the response object.
|
GetRefResponse.Builder |
copy(GetRefResponse o)
Copy method to populate the builder with values from the given instance.
|
GetRefResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
GetRefResponse.Builder |
headers(Map<String,List<String>> headers) |
GetRefResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetRefResponse.Builder |
repositoryRef(RepositoryRef repositoryRef)
The returned
RepositoryRef instance. |
GetRefResponse.Builder |
sunset(String sunset)
This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get
recognized when refName has ‘/’.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public GetRefResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<GetRefResponse>
public GetRefResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<GetRefResponse>
public GetRefResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic GetRefResponse.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 GetRefResponse.Builder sunset(String sunset)
This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has ‘/’. This will be replaced by “/repositories/{repositoryId}/refs”.
sunset
- the value to setpublic GetRefResponse.Builder repositoryRef(RepositoryRef repositoryRef)
The returned RepositoryRef
instance.
repositoryRef
- the value to setpublic GetRefResponse.Builder copy(GetRefResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<GetRefResponse>
o
- other request from which to copy valuespublic GetRefResponse build()
Build the response object.
build
in interface BmcResponse.Builder<GetRefResponse>
Copyright © 2016–2024. All rights reserved.