Class ProtocolConfiguration

java.lang.Object
com.azure.resourcemanager.network.models.ProtocolConfiguration

public final class ProtocolConfiguration extends Object
Configuration of the protocol.
  • Constructor Details

    • ProtocolConfiguration

      public ProtocolConfiguration()
      Creates an instance of ProtocolConfiguration class.
  • Method Details

    • httpConfiguration

      public HttpConfiguration httpConfiguration()
      Get the httpConfiguration property: HTTP configuration of the connectivity check.
      Returns:
      the httpConfiguration value.
    • withHttpConfiguration

      public ProtocolConfiguration withHttpConfiguration(HttpConfiguration httpConfiguration)
      Set the httpConfiguration property: HTTP configuration of the connectivity check.
      Parameters:
      httpConfiguration - the httpConfiguration value to set.
      Returns:
      the ProtocolConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.