Class ConnectionMonitorEndpoint

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

public final class ConnectionMonitorEndpoint extends Object
Describes the connection monitor endpoint.
  • Constructor Details

    • ConnectionMonitorEndpoint

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

    • name

      public String name()
      Get the name property: The name of the connection monitor endpoint.
      Returns:
      the name value.
    • withName

      public ConnectionMonitorEndpoint withName(String name)
      Set the name property: The name of the connection monitor endpoint.
      Parameters:
      name - the name value to set.
      Returns:
      the ConnectionMonitorEndpoint object itself.
    • type

      public EndpointType type()
      Get the type property: The endpoint type.
      Returns:
      the type value.
    • withType

      public ConnectionMonitorEndpoint withType(EndpointType type)
      Set the type property: The endpoint type.
      Parameters:
      type - the type value to set.
      Returns:
      the ConnectionMonitorEndpoint object itself.
    • resourceId

      public String resourceId()
      Get the resourceId property: Resource ID of the connection monitor endpoint.
      Returns:
      the resourceId value.
    • withResourceId

      public ConnectionMonitorEndpoint withResourceId(String resourceId)
      Set the resourceId property: Resource ID of the connection monitor endpoint.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the ConnectionMonitorEndpoint object itself.
    • address

      public String address()
      Get the address property: Address of the connection monitor endpoint (IP or domain name).
      Returns:
      the address value.
    • withAddress

      public ConnectionMonitorEndpoint withAddress(String address)
      Set the address property: Address of the connection monitor endpoint (IP or domain name).
      Parameters:
      address - the address value to set.
      Returns:
      the ConnectionMonitorEndpoint object itself.
    • filter

      Get the filter property: Filter for sub-items within the endpoint.
      Returns:
      the filter value.
    • withFilter

      Set the filter property: Filter for sub-items within the endpoint.
      Parameters:
      filter - the filter value to set.
      Returns:
      the ConnectionMonitorEndpoint object itself.
    • scope

      Get the scope property: Endpoint scope.
      Returns:
      the scope value.
    • withScope

      Set the scope property: Endpoint scope.
      Parameters:
      scope - the scope value to set.
      Returns:
      the ConnectionMonitorEndpoint object itself.
    • coverageLevel

      public CoverageLevel coverageLevel()
      Get the coverageLevel property: Test coverage for the endpoint.
      Returns:
      the coverageLevel value.
    • withCoverageLevel

      public ConnectionMonitorEndpoint withCoverageLevel(CoverageLevel coverageLevel)
      Set the coverageLevel property: Test coverage for the endpoint.
      Parameters:
      coverageLevel - the coverageLevel value to set.
      Returns:
      the ConnectionMonitorEndpoint object itself.
    • validate

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