Class NetworkProfile
- java.lang.Object
-
- com.azure.resourcemanager.hardwaresecuritymodules.models.NetworkProfile
-
public final class NetworkProfile extends Object
The network profile definition.
-
-
Constructor Summary
Constructors Constructor Description NetworkProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NetworkInterface>networkInterfaces()Get the networkInterfaces property: Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM.ApiEntityReferencesubnet()Get the subnet property: Specifies the identifier of the subnet.voidvalidate()Validates the instance.NetworkProfilewithNetworkInterfaces(List<NetworkInterface> networkInterfaces)Set the networkInterfaces property: Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM.NetworkProfilewithSubnet(ApiEntityReference subnet)Set the subnet property: Specifies the identifier of the subnet.
-
-
-
Method Detail
-
subnet
public ApiEntityReference subnet()
Get the subnet property: Specifies the identifier of the subnet.- Returns:
- the subnet value.
-
withSubnet
public NetworkProfile withSubnet(ApiEntityReference subnet)
Set the subnet property: Specifies the identifier of the subnet.- Parameters:
subnet- the subnet value to set.- Returns:
- the NetworkProfile object itself.
-
networkInterfaces
public List<NetworkInterface> networkInterfaces()
Get the networkInterfaces property: Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM.- Returns:
- the networkInterfaces value.
-
withNetworkInterfaces
public NetworkProfile withNetworkInterfaces(List<NetworkInterface> networkInterfaces)
Set the networkInterfaces property: Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM.- Parameters:
networkInterfaces- the networkInterfaces value to set.- Returns:
- the NetworkProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-