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