public class HttpSettings extends ProxyOnlyResource
| Constructor and Description |
|---|
HttpSettings() |
| Modifier and Type | Method and Description |
|---|---|
ForwardProxy |
forwardProxy()
Get the forwardProxy property: The forwardProxy property.
|
Boolean |
requireHttps()
Get the requireHttps property: The requireHttps property.
|
HttpSettingsRoutes |
routes()
Get the routes property: The routes property.
|
void |
validate()
Validates the instance.
|
HttpSettings |
withForwardProxy(ForwardProxy forwardProxy)
Set the forwardProxy property: The forwardProxy property.
|
HttpSettings |
withKind(String kind)
Set the kind property: Kind of resource.
|
HttpSettings |
withRequireHttps(Boolean requireHttps)
Set the requireHttps property: The requireHttps property.
|
HttpSettings |
withRoutes(HttpSettingsRoutes routes)
Set the routes property: The routes property.
|
kindpublic Boolean requireHttps()
public HttpSettings withRequireHttps(Boolean requireHttps)
requireHttps - the requireHttps value to set.public HttpSettingsRoutes routes()
public HttpSettings withRoutes(HttpSettingsRoutes routes)
routes - the routes value to set.public ForwardProxy forwardProxy()
public HttpSettings withForwardProxy(ForwardProxy forwardProxy)
forwardProxy - the forwardProxy value to set.public HttpSettings withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.