Class CreateOccmDemandSignalResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.capacitymanagement.responses.CreateOccmDemandSignalResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<CreateOccmDemandSignalResponse>
 - Enclosing class:
- CreateOccmDemandSignalResponse
 
 public static class CreateOccmDemandSignalResponse.Builder extends Object implements BmcResponse.Builder<CreateOccmDemandSignalResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOccmDemandSignalResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateOccmDemandSignalResponsebuild()Build the response object.CreateOccmDemandSignalResponse.Buildercopy(CreateOccmDemandSignalResponse o)Copy method to populate the builder with values from the given instance.CreateOccmDemandSignalResponse.Builderetag(String etag)For optimistic concurrency control.CreateOccmDemandSignalResponse.Builderheaders(Map<String,List<String>> headers)CreateOccmDemandSignalResponse.BuilderoccmDemandSignal(OccmDemandSignal occmDemandSignal)The returned OccmDemandSignal instance.CreateOccmDemandSignalResponse.BuilderopcRequestId(String opcRequestId)For pagination of a list of items.CreateOccmDemandSignalResponse.BuilderretryAfter(Integer retryAfter)A decimal number representing the number of seconds the client should wait before polling this endpoint again.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public CreateOccmDemandSignalResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<CreateOccmDemandSignalResponse>
 
 - 
headerspublic CreateOccmDemandSignalResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<CreateOccmDemandSignalResponse>
 
 - 
etagpublic CreateOccmDemandSignalResponse.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic CreateOccmDemandSignalResponse.Builder opcRequestId(String opcRequestId) For pagination of a list of items.When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the page parameter for the subsequent GET request to get the next batch of items. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder
 
 - 
retryAfterpublic CreateOccmDemandSignalResponse.Builder retryAfter(Integer retryAfter) A decimal number representing the number of seconds the client should wait before polling this endpoint again.- Parameters:
- retryAfter- the value to set
- Returns:
- this builder
 
 - 
occmDemandSignalpublic CreateOccmDemandSignalResponse.Builder occmDemandSignal(OccmDemandSignal occmDemandSignal) The returned OccmDemandSignal instance.- Parameters:
- occmDemandSignal- the value to set
- Returns:
- this builder
 
 - 
copypublic CreateOccmDemandSignalResponse.Builder copy(CreateOccmDemandSignalResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<CreateOccmDemandSignalResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateOccmDemandSignalResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<CreateOccmDemandSignalResponse>
- Returns:
- the response object
 
 
- 
 
-