VirtualApplianceNetworkInterfaceConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualApplianceNetworkInterfaceConfiguration
- com.
Implements
public final class VirtualApplianceNetworkInterfaceConfiguration
implements JsonSerializable<VirtualApplianceNetworkInterfaceConfiguration>
Represents a single NIC configuration.
Constructor Summary
Constructor | Description |
---|---|
VirtualApplianceNetworkInterfaceConfiguration() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Nic |
nicType()
Get the nic |
Virtual |
properties()
Get the properties property: Represents a single NIC configuration properties. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withNicType(NicTypeInRequest nicType)
Set the nic |
Virtual |
withProperties(VirtualApplianceNetworkInterfaceConfigurationProperties properties)
Set the properties property: Represents a single NIC configuration properties. |
Methods inherited from java.lang.Object
Constructor Details
VirtualApplianceNetworkInterfaceConfiguration
public VirtualApplianceNetworkInterfaceConfiguration()
Creates an instance of VirtualApplianceNetworkInterfaceConfiguration class.
Method Details
fromJson
public static VirtualApplianceNetworkInterfaceConfiguration fromJson(JsonReader jsonReader)
Reads an instance of VirtualApplianceNetworkInterfaceConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
nicType
public NicTypeInRequest nicType()
Get the nicType property: NIC type. This should be either PublicNic or PrivateNic.
Returns:
properties
public VirtualApplianceNetworkInterfaceConfigurationProperties properties()
Get the properties property: Represents a single NIC configuration properties.
Returns:
toJson
validate
public void validate()
Validates the instance.
withNicType
public VirtualApplianceNetworkInterfaceConfiguration withNicType(NicTypeInRequest nicType)
Set the nicType property: NIC type. This should be either PublicNic or PrivateNic.
Parameters:
Returns:
withProperties
public VirtualApplianceNetworkInterfaceConfiguration withProperties(VirtualApplianceNetworkInterfaceConfigurationProperties properties)
Set the properties property: Represents a single NIC configuration properties.
Parameters:
Returns:
Applies to
Azure SDK for Java