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