Package com.oracle.bmc.apigateway.model
Class StockResponseBackend.Builder
- java.lang.Object
- 
- com.oracle.bmc.apigateway.model.StockResponseBackend.Builder
 
- 
- Enclosing class:
- StockResponseBackend
 
 public static class StockResponseBackend.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StockResponseBackend.Builderbody(String body)The body of the stock response from the mock backend.StockResponseBackendbuild()StockResponseBackend.Buildercopy(StockResponseBackend model)StockResponseBackend.Builderheaders(List<HeaderFieldSpecification> headers)The headers of the stock response from the mock backend.StockResponseBackend.Builderstatus(Integer status)The status code of the stock response from the mock backend.
 
- 
- 
- 
Method Detail- 
bodypublic StockResponseBackend.Builder body(String body) The body of the stock response from the mock backend.- Parameters:
- body- the value to set
- Returns:
- this builder
 
 - 
statuspublic StockResponseBackend.Builder status(Integer status) The status code of the stock response from the mock backend.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
headerspublic StockResponseBackend.Builder headers(List<HeaderFieldSpecification> headers) The headers of the stock response from the mock backend.- Parameters:
- headers- the value to set
- Returns:
- this builder
 
 - 
buildpublic StockResponseBackend build() 
 - 
copypublic StockResponseBackend.Builder copy(StockResponseBackend model) 
 
- 
 
-