Package com.oracle.bmc.opsi.responses
Class CreateAwrHubResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.responses.CreateAwrHubResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreateAwrHubResponse>
- Enclosing class:
- CreateAwrHubResponse
public static class CreateAwrHubResponse.Builder extends Object implements BmcResponse.Builder<CreateAwrHubResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAwrHubResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateAwrHubResponse.BuilderawrHub(AwrHub awrHub)The returned AwrHub instance.CreateAwrHubResponsebuild()Build the response object.CreateAwrHubResponse.BuildercontentLocation(String contentLocation)URI of the resourceCreateAwrHubResponse.Buildercopy(CreateAwrHubResponse o)Copy method to populate the builder with values from the given instance.CreateAwrHubResponse.Builderetag(String etag)For optimistic concurrency control.CreateAwrHubResponse.Builderheaders(Map<String,List<String>> headers)CreateAwrHubResponse.Builderlocation(String location)URI of the resourceCreateAwrHubResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateAwrHubResponse.BuilderopcWorkRequestId(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 CreateAwrHubResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<CreateAwrHubResponse>
-
headers
public CreateAwrHubResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<CreateAwrHubResponse>
-
opcWorkRequestId
public CreateAwrHubResponse.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
-
opcRequestId
public CreateAwrHubResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
location
public CreateAwrHubResponse.Builder location(String location)
URI of the resource- Parameters:
location- the value to set- Returns:
- this builder
-
contentLocation
public CreateAwrHubResponse.Builder contentLocation(String contentLocation)
URI of the resource- Parameters:
contentLocation- the value to set- Returns:
- this builder
-
etag
public CreateAwrHubResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
awrHub
public CreateAwrHubResponse.Builder awrHub(AwrHub awrHub)
The returned AwrHub instance.- Parameters:
awrHub- the value to set- Returns:
- this builder
-
copy
public CreateAwrHubResponse.Builder copy(CreateAwrHubResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<CreateAwrHubResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateAwrHubResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<CreateAwrHubResponse>- Returns:
- the response object
-
-