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