Class HttpSettings
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.HttpSettings
-
public final class HttpSettings extends Object
The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.
-
-
Constructor Summary
Constructors Constructor Description HttpSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ForwardProxyforwardProxy()Get the forwardProxy property: The configuration settings of a forward proxy used to make the requests.BooleanrequireHttps()Get the requireHttps property: <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.HttpSettingsRoutesroutes()Get the routes property: The configuration settings of the paths HTTP requests.voidvalidate()Validates the instance.HttpSettingswithForwardProxy(ForwardProxy forwardProxy)Set the forwardProxy property: The configuration settings of a forward proxy used to make the requests.HttpSettingswithRequireHttps(Boolean requireHttps)Set the requireHttps property: <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.HttpSettingswithRoutes(HttpSettingsRoutes routes)Set the routes property: The configuration settings of the paths HTTP requests.
-
-
-
Method Detail
-
requireHttps
public Boolean requireHttps()
Get the requireHttps property: <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.- Returns:
- the requireHttps value.
-
withRequireHttps
public HttpSettings withRequireHttps(Boolean requireHttps)
Set the requireHttps property: <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.- Parameters:
requireHttps- the requireHttps value to set.- Returns:
- the HttpSettings object itself.
-
routes
public HttpSettingsRoutes routes()
Get the routes property: The configuration settings of the paths HTTP requests.- Returns:
- the routes value.
-
withRoutes
public HttpSettings withRoutes(HttpSettingsRoutes routes)
Set the routes property: The configuration settings of the paths HTTP requests.- Parameters:
routes- the routes value to set.- Returns:
- the HttpSettings object itself.
-
forwardProxy
public ForwardProxy forwardProxy()
Get the forwardProxy property: The configuration settings of a forward proxy used to make the requests.- Returns:
- the forwardProxy value.
-
withForwardProxy
public HttpSettings withForwardProxy(ForwardProxy forwardProxy)
Set the forwardProxy property: The configuration settings of a forward proxy used to make the requests.- Parameters:
forwardProxy- the forwardProxy value to set.- Returns:
- the HttpSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-