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