HttpProxyConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.HttpProxyConfiguration

Implements

public final class HttpProxyConfiguration
implements JsonSerializable<HttpProxyConfiguration>

HTTP Proxy configuration for the VM.

Constructor Summary

Constructor Description
HttpProxyConfiguration()

Creates an instance of HttpProxyConfiguration class.

Method Summary

Modifier and Type Method and Description
static HttpProxyConfiguration fromJson(JsonReader jsonReader)

Reads an instance of HttpProxyConfiguration from the JsonReader.

String httpsProxy()

Get the httpsProxy property: Gets or sets httpsProxy url.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

HttpProxyConfiguration withHttpsProxy(String httpsProxy)

Set the httpsProxy property: Gets or sets httpsProxy url.

Methods inherited from java.lang.Object

Constructor Details

HttpProxyConfiguration

public HttpProxyConfiguration()

Creates an instance of HttpProxyConfiguration class.

Method Details

fromJson

public static HttpProxyConfiguration fromJson(JsonReader jsonReader)

Reads an instance of HttpProxyConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of HttpProxyConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the HttpProxyConfiguration.

httpsProxy

public String httpsProxy()

Get the httpsProxy property: Gets or sets httpsProxy url.

Returns:

the httpsProxy value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withHttpsProxy

public HttpProxyConfiguration withHttpsProxy(String httpsProxy)

Set the httpsProxy property: Gets or sets httpsProxy url.

Parameters:

httpsProxy - the httpsProxy value to set.

Returns:

the HttpProxyConfiguration object itself.

Applies to