VirtualIpMapping Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.VirtualIpMapping

Implements

public final class VirtualIpMapping
implements JsonSerializable<VirtualIpMapping>

Virtual IP mapping.

Constructor Summary

Constructor Description
VirtualIpMapping()

Creates an instance of VirtualIpMapping class.

Method Summary

Modifier and Type Method and Description
static VirtualIpMapping fromJson(JsonReader jsonReader)

Reads an instance of VirtualIpMapping from the JsonReader.

Boolean inUse()

Get the inUse property: Is virtual IP mapping in use.

Integer internalHttpPort()

Get the internalHttpPort property: Internal HTTP port.

Integer internalHttpsPort()

Get the internalHttpsPort property: Internal HTTPS port.

String serviceName()

Get the serviceName property: name of the service that virtual IP is assigned to.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String virtualIp()

Get the virtualIp property: Virtual IP address.

VirtualIpMapping withInUse(Boolean inUse)

Set the inUse property: Is virtual IP mapping in use.

VirtualIpMapping withInternalHttpPort(Integer internalHttpPort)

Set the internalHttpPort property: Internal HTTP port.

VirtualIpMapping withInternalHttpsPort(Integer internalHttpsPort)

Set the internalHttpsPort property: Internal HTTPS port.

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.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualIpMapping if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VirtualIpMapping.

inUse

public Boolean inUse()

Get the inUse property: Is virtual IP mapping in use.

Returns:

the inUse value.

internalHttpPort

public Integer internalHttpPort()

Get the internalHttpPort property: Internal HTTP port.

Returns:

the internalHttpPort value.

internalHttpsPort

public Integer internalHttpsPort()

Get the internalHttpsPort property: Internal HTTPS port.

Returns:

the internalHttpsPort value.

serviceName

public String serviceName()

Get the serviceName property: name of the service that virtual IP is assigned to.

Returns:

the serviceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualIp

public String virtualIp()

Get the virtualIp property: Virtual IP address.

Returns:

the virtualIp 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.

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.

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.

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.

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.

Applies to