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 HTTPBackendbuild()HTTPBackend.BuilderconnectTimeoutInSeconds(Float connectTimeoutInSeconds)Defines a timeout for establishing a connection with a proxied server.HTTPBackend.Buildercopy(HTTPBackend model)HTTPBackend.BuilderisSslVerifyDisabled(Boolean isSslVerifyDisabled)Defines whether or not to uphold SSL verification.HTTPBackend.BuilderreadTimeoutInSeconds(Float readTimeoutInSeconds)Defines a timeout for reading a response from the proxied server.HTTPBackend.BuildersendTimeoutInSeconds(Float sendTimeoutInSeconds)Defines a timeout for transmitting a request to the proxied server.HTTPBackend.Builderurl(String url)The url of the HTTP Backend
-
-
-
Method Detail
-
url
public HTTPBackend.Builder url(String url)
The url of the HTTP Backend- Parameters:
url- the value to set- Returns:
- this builder
-
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)
-
-