ProxyServerProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.ProxyServerProperties

public final class ProxyServerProperties

For a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use.

Constructor Summary

Constructor Description
ProxyServerProperties()

Creates an instance of ProxyServerProperties class.

Method Summary

Modifier and Type Method and Description
String ip()

Get the ip property: Proxy server IP.

String port()

Get the port property: Proxy server port.

void validate()

Validates the instance.

ProxyServerProperties withIp(String ip)

Set the ip property: Proxy server IP.

ProxyServerProperties withPort(String port)

Set the port property: Proxy server port.

Methods inherited from java.lang.Object

Constructor Details

ProxyServerProperties

public ProxyServerProperties()

Creates an instance of ProxyServerProperties class.

Method Details

ip

public String ip()

Get the ip property: Proxy server IP.

Returns:

the ip value.

port

public String port()

Get the port property: Proxy server port.

Returns:

the port value.

validate

public void validate()

Validates the instance.

withIp

public ProxyServerProperties withIp(String ip)

Set the ip property: Proxy server IP.

Parameters:

ip - the ip value to set.

Returns:

the ProxyServerProperties object itself.

withPort

public ProxyServerProperties withPort(String port)

Set the port property: Proxy server port.

Parameters:

port - the port value to set.

Returns:

the ProxyServerProperties object itself.

Applies to