VirtualIpMapping Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. VirtualIpMapping
- com.
Implements
public final class VirtualIpMapping
implements JsonSerializable<VirtualIpMapping>
Virtual IP mapping.
Constructor Summary
Constructor | Description |
---|---|
VirtualIpMapping() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Boolean |
inUse()
Get the in |
Integer |
internalHttpPort()
Get the internal |
Integer |
internalHttpsPort()
Get the internal |
String |
serviceName()
Get the service |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
virtualIp()
Get the virtual |
Virtual |
withInUse(Boolean inUse)
Set the in |
Virtual |
withInternalHttpPort(Integer internalHttpPort)
Set the internal |
Virtual |
withInternalHttpsPort(Integer internalHttpsPort)
Set the internal |
Virtual |
withServiceName(String serviceName)
Set the service |
Virtual |
withVirtualIp(String virtualIp)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
VirtualIpMapping
public VirtualIpMapping()
Creates an instance of VirtualIpMapping class.
Method Details
fromJson
public static VirtualIpMapping fromJson(JsonReader jsonReader)
Reads an instance of VirtualIpMapping from the JsonReader.
Parameters:
Returns:
Throws:
inUse
public Boolean inUse()
Get the inUse property: Is virtual IP mapping in use.
Returns:
internalHttpPort
public Integer internalHttpPort()
Get the internalHttpPort property: Internal HTTP port.
Returns:
internalHttpsPort
public Integer internalHttpsPort()
Get the internalHttpsPort property: Internal HTTPS port.
Returns:
serviceName
public String serviceName()
Get the serviceName property: name of the service that virtual IP is assigned to.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualIp
public String virtualIp()
Get the virtualIp property: Virtual IP address.
Returns:
withInUse
public VirtualIpMapping withInUse(Boolean inUse)
Set the inUse property: Is virtual IP mapping in use.
Parameters:
Returns:
withInternalHttpPort
public VirtualIpMapping withInternalHttpPort(Integer internalHttpPort)
Set the internalHttpPort property: Internal HTTP port.
Parameters:
Returns:
withInternalHttpsPort
public VirtualIpMapping withInternalHttpsPort(Integer internalHttpsPort)
Set the internalHttpsPort property: Internal HTTPS port.
Parameters:
Returns:
withServiceName
public VirtualIpMapping withServiceName(String serviceName)
Set the serviceName property: name of the service that virtual IP is assigned to.
Parameters:
Returns:
withVirtualIp
public VirtualIpMapping withVirtualIp(String virtualIp)
Set the virtualIp property: Virtual IP address.
Parameters:
Returns:
Applies to
Azure SDK for Java