Package com.oracle.bmc.devops.responses
Class GetProjectResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.responses.GetProjectResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetProjectResponse>
- Enclosing class:
- GetProjectResponse
public static class GetProjectResponse.Builder extends Object implements BmcResponse.Builder<GetProjectResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetProjectResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
GetProjectResponse
build()
Build the response object.GetProjectResponse.Builder
copy(GetProjectResponse o)
Copy method to populate the builder with values from the given instance.GetProjectResponse.Builder
etag(String etag)
For optimistic concurrency control.GetProjectResponse.Builder
headers(Map<String,List<String>> headers)
GetProjectResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.GetProjectResponse.Builder
project(Project project)
The returned Project instance.-
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.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public GetProjectResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<GetProjectResponse>
-
headers
public GetProjectResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<GetProjectResponse>
-
etag
public GetProjectResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag
- the value to set- Returns:
- this builder
-
opcRequestId
public GetProjectResponse.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
-
project
public GetProjectResponse.Builder project(Project project)
The returned Project instance.- Parameters:
project
- the value to set- Returns:
- this builder
-
copy
public GetProjectResponse.Builder copy(GetProjectResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<GetProjectResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetProjectResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<GetProjectResponse>
- Returns:
- the response object
-
-