Package com.oracle.bmc.apigateway.model
Class HTTPBackend.Builder
- java.lang.Object
-
- com.oracle.bmc.apigateway.model.HTTPBackend.Builder
-
- Enclosing class:
- HTTPBackend
public static class HTTPBackend.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HTTPBackend
build()
HTTPBackend.Builder
connectTimeoutInSeconds(Float connectTimeoutInSeconds)
Defines a timeout for establishing a connection with a proxied server.HTTPBackend.Builder
copy(HTTPBackend model)
HTTPBackend.Builder
isSslVerifyDisabled(Boolean isSslVerifyDisabled)
Defines whether or not to uphold SSL verification.HTTPBackend.Builder
readTimeoutInSeconds(Float readTimeoutInSeconds)
Defines a timeout for reading a response from the proxied server.HTTPBackend.Builder
sendTimeoutInSeconds(Float sendTimeoutInSeconds)
Defines a timeout for transmitting a request to the proxied server.HTTPBackend.Builder
url(String url)
-
-
-
Method Detail
-
url
public HTTPBackend.Builder url(String url)
-
connectTimeoutInSeconds
public HTTPBackend.Builder connectTimeoutInSeconds(Float connectTimeoutInSeconds)
Defines a timeout for establishing a connection with a proxied server.- Parameters:
connectTimeoutInSeconds
- the value to set- Returns:
- this builder
-
readTimeoutInSeconds
public HTTPBackend.Builder readTimeoutInSeconds(Float readTimeoutInSeconds)
Defines a timeout for reading a response from the proxied server.- Parameters:
readTimeoutInSeconds
- the value to set- Returns:
- this builder
-
sendTimeoutInSeconds
public HTTPBackend.Builder sendTimeoutInSeconds(Float sendTimeoutInSeconds)
Defines a timeout for transmitting a request to the proxied server.- Parameters:
sendTimeoutInSeconds
- the value to set- Returns:
- this builder
-
isSslVerifyDisabled
public HTTPBackend.Builder isSslVerifyDisabled(Boolean isSslVerifyDisabled)
Defines whether or not to uphold SSL verification.- Parameters:
isSslVerifyDisabled
- the value to set- Returns:
- this builder
-
build
public HTTPBackend build()
-
copy
public HTTPBackend.Builder copy(HTTPBackend model)
-
-