VirtualApplianceAdditionalNicProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualApplianceAdditionalNicProperties
- com.
Implements
public final class VirtualApplianceAdditionalNicProperties
implements JsonSerializable<VirtualApplianceAdditionalNicProperties>
Network Virtual Appliance Additional Nic Properties Network Virtual Appliance Additional NIC properties.
Constructor Summary
Constructor | Description |
---|---|
VirtualApplianceAdditionalNicProperties() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Boolean |
hasPublicIp()
Get the has |
String |
name()
Get the name property: Name of additional nic. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withHasPublicIp(Boolean hasPublicIp)
Set the has |
Virtual |
withName(String name)
Set the name property: Name of additional nic. |
Methods inherited from java.lang.Object
Constructor Details
VirtualApplianceAdditionalNicProperties
public VirtualApplianceAdditionalNicProperties()
Creates an instance of VirtualApplianceAdditionalNicProperties class.
Method Details
fromJson
public static VirtualApplianceAdditionalNicProperties fromJson(JsonReader jsonReader)
Reads an instance of VirtualApplianceAdditionalNicProperties from the JsonReader.
Parameters:
Returns:
Throws:
hasPublicIp
public Boolean hasPublicIp()
Get the hasPublicIp property: Flag (true or false) for Intent for Public Ip on additional nic.
Returns:
name
public String name()
Get the name property: Name of additional nic.
Returns:
toJson
validate
public void validate()
Validates the instance.
withHasPublicIp
public VirtualApplianceAdditionalNicProperties withHasPublicIp(Boolean hasPublicIp)
Set the hasPublicIp property: Flag (true or false) for Intent for Public Ip on additional nic.
Parameters:
Returns:
withName
public VirtualApplianceAdditionalNicProperties withName(String name)
Set the name property: Name of additional nic.
Parameters:
Returns: