public final class VirtualIpMapping extends Object
| Constructor and Description |
|---|
VirtualIpMapping() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
internalHttpPort()
Get the internalHttpPort property: Internal HTTP port.
|
Integer |
internalHttpsPort()
Get the internalHttpsPort property: Internal HTTPS port.
|
Boolean |
inUse()
Get the inUse property: Is virtual IP mapping in use.
|
String |
serviceName()
Get the serviceName property: name of the service that virtual IP is assigned to.
|
void |
validate()
Validates the instance.
|
String |
virtualIp()
Get the virtualIp property: Virtual IP address.
|
VirtualIpMapping |
withInternalHttpPort(Integer internalHttpPort)
Set the internalHttpPort property: Internal HTTP port.
|
VirtualIpMapping |
withInternalHttpsPort(Integer internalHttpsPort)
Set the internalHttpsPort property: Internal HTTPS port.
|
VirtualIpMapping |
withInUse(Boolean inUse)
Set the inUse property: Is virtual IP mapping in use.
|
VirtualIpMapping |
withServiceName(String serviceName)
Set the serviceName property: name of the service that virtual IP is assigned to.
|
VirtualIpMapping |
withVirtualIp(String virtualIp)
Set the virtualIp property: Virtual IP address.
|
public String virtualIp()
public VirtualIpMapping withVirtualIp(String virtualIp)
virtualIp - the virtualIp value to set.public Integer internalHttpPort()
public VirtualIpMapping withInternalHttpPort(Integer internalHttpPort)
internalHttpPort - the internalHttpPort value to set.public Integer internalHttpsPort()
public VirtualIpMapping withInternalHttpsPort(Integer internalHttpsPort)
internalHttpsPort - the internalHttpsPort value to set.public Boolean inUse()
public VirtualIpMapping withInUse(Boolean inUse)
inUse - the inUse value to set.public String serviceName()
public VirtualIpMapping withServiceName(String serviceName)
serviceName - the serviceName value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.