Class NetworkProfile


  • public final class NetworkProfile
    extends Object
    The network profile definition.
    • Constructor Detail

      • NetworkProfile

        public NetworkProfile()
    • 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.