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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StockResponseBackend.Builder
body(String body)
The body of the stock response from the mock backend.StockResponseBackend
build()
StockResponseBackend.Builder
copy(StockResponseBackend model)
StockResponseBackend.Builder
headers(List<HeaderFieldSpecification> headers)
The headers of the stock response from the mock backend.StockResponseBackend.Builder
status(Integer status)
The status code of the stock response from the mock backend.
-
-
-
Method Detail
-
body
public StockResponseBackend.Builder body(String body)
The body of the stock response from the mock backend.- Parameters:
body
- the value to set- Returns:
- this builder
-
status
public 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
-
headers
public 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
-
build
public StockResponseBackend build()
-
copy
public StockResponseBackend.Builder copy(StockResponseBackend model)
-
-