ProxyServerProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ProxyServerProperties
- com.
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 Proxy |
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. |
Proxy |
withIp(String ip)
Set the ip property: Proxy server IP. |
Proxy |
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:
port
public String port()
Get the port property: Proxy server port.
Returns:
validate
public void validate()
Validates the instance.
withIp
public ProxyServerProperties withIp(String ip)
Set the ip property: Proxy server IP.
Parameters:
Returns:
withPort
public ProxyServerProperties withPort(String port)
Set the port property: Proxy server port.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for