Class ConnectivityCheckRequestSource


  • public final class ConnectivityCheckRequestSource
    extends Object
    Definitions about the connectivity check origin.
    • Constructor Detail

      • ConnectivityCheckRequestSource

        public ConnectivityCheckRequestSource()
    • Method Detail

      • region

        public String region()
        Get the region property: The API Management service region from where to start the connectivity check operation.
        Returns:
        the region value.
      • withRegion

        public ConnectivityCheckRequestSource withRegion​(String region)
        Set the region property: The API Management service region from where to start the connectivity check operation.
        Parameters:
        region - the region value to set.
        Returns:
        the ConnectivityCheckRequestSource object itself.
      • instance

        public Long instance()
        Get the instance property: The particular VMSS instance from which to fire the request.
        Returns:
        the instance value.
      • withInstance

        public ConnectivityCheckRequestSource withInstance​(Long instance)
        Set the instance property: The particular VMSS instance from which to fire the request.
        Parameters:
        instance - the instance value to set.
        Returns:
        the ConnectivityCheckRequestSource object itself.
      • validate

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