Class VirtualIpMapping
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.VirtualIpMapping
-
public final class VirtualIpMapping extends Object
Virtual IP mapping.
-
-
Constructor Summary
Constructors Constructor Description VirtualIpMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerinternalHttpPort()Get the internalHttpPort property: Internal HTTP port.IntegerinternalHttpsPort()Get the internalHttpsPort property: Internal HTTPS port.BooleaninUse()Get the inUse property: Is virtual IP mapping in use.StringserviceName()Get the serviceName property: name of the service that virtual IP is assigned to.voidvalidate()Validates the instance.StringvirtualIp()Get the virtualIp property: Virtual IP address.VirtualIpMappingwithInternalHttpPort(Integer internalHttpPort)Set the internalHttpPort property: Internal HTTP port.VirtualIpMappingwithInternalHttpsPort(Integer internalHttpsPort)Set the internalHttpsPort property: Internal HTTPS port.VirtualIpMappingwithInUse(Boolean inUse)Set the inUse property: Is virtual IP mapping in use.VirtualIpMappingwithServiceName(String serviceName)Set the serviceName property: name of the service that virtual IP is assigned to.VirtualIpMappingwithVirtualIp(String virtualIp)Set the virtualIp property: Virtual IP address.
-
-
-
Method Detail
-
virtualIp
public String virtualIp()
Get the virtualIp property: Virtual IP address.- Returns:
- the virtualIp value.
-
withVirtualIp
public VirtualIpMapping withVirtualIp(String virtualIp)
Set the virtualIp property: Virtual IP address.- Parameters:
virtualIp- the virtualIp value to set.- Returns:
- the VirtualIpMapping object itself.
-
internalHttpPort
public Integer internalHttpPort()
Get the internalHttpPort property: Internal HTTP port.- Returns:
- the internalHttpPort value.
-
withInternalHttpPort
public VirtualIpMapping withInternalHttpPort(Integer internalHttpPort)
Set the internalHttpPort property: Internal HTTP port.- Parameters:
internalHttpPort- the internalHttpPort value to set.- Returns:
- the VirtualIpMapping object itself.
-
internalHttpsPort
public Integer internalHttpsPort()
Get the internalHttpsPort property: Internal HTTPS port.- Returns:
- the internalHttpsPort value.
-
withInternalHttpsPort
public VirtualIpMapping withInternalHttpsPort(Integer internalHttpsPort)
Set the internalHttpsPort property: Internal HTTPS port.- Parameters:
internalHttpsPort- the internalHttpsPort value to set.- Returns:
- the VirtualIpMapping object itself.
-
inUse
public Boolean inUse()
Get the inUse property: Is virtual IP mapping in use.- Returns:
- the inUse value.
-
withInUse
public VirtualIpMapping withInUse(Boolean inUse)
Set the inUse property: Is virtual IP mapping in use.- Parameters:
inUse- the inUse value to set.- Returns:
- the VirtualIpMapping object itself.
-
serviceName
public String serviceName()
Get the serviceName property: name of the service that virtual IP is assigned to.- Returns:
- the serviceName value.
-
withServiceName
public VirtualIpMapping withServiceName(String serviceName)
Set the serviceName property: name of the service that virtual IP is assigned to.- Parameters:
serviceName- the serviceName value to set.- Returns:
- the VirtualIpMapping object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-