Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Origin |
build() |
Origin.Builder |
copy(Origin model) |
Origin.Builder |
customHeaders(List<Header> customHeaders)
A list of HTTP headers to forward to your origin.
|
Origin.Builder |
httpPort(Integer httpPort)
The HTTP port on the origin that the web application listens on.
|
Origin.Builder |
httpsPort(Integer httpsPort)
The HTTPS port on the origin that the web application listens on.
|
Origin.Builder |
uri(String uri)
The URI of the origin.
|
public Origin.Builder uri(String uri)
The URI of the origin. Does not support paths. Port numbers should be specified in the
httpPort
and httpsPort
fields.
uri
- the value to setpublic Origin.Builder httpPort(Integer httpPort)
The HTTP port on the origin that the web application listens on. If unspecified, defaults
to 80
. If 0
is specified - the origin is not used for HTTP traffic.
httpPort
- the value to setpublic Origin.Builder httpsPort(Integer httpsPort)
The HTTPS port on the origin that the web application listens on. If unspecified,
defaults to 443
. If 0
is specified - the origin is not used for HTTPS
traffic.
httpsPort
- the value to setpublic Origin.Builder customHeaders(List<Header> customHeaders)
A list of HTTP headers to forward to your origin.
customHeaders
- the value to setpublic Origin build()
public Origin.Builder copy(Origin model)
Copyright © 2016–2024. All rights reserved.