Class ConnectivityCriteria

java.lang.Object
com.azure.resourcemanager.securityinsights.models.ConnectivityCriteria
Direct Known Subclasses:
CodelessUiConnectorConfigPropertiesConnectivityCriteriaItem

public class ConnectivityCriteria extends Object
Setting for the connector check connectivity.
  • Constructor Details

    • ConnectivityCriteria

      public ConnectivityCriteria()
  • Method Details

    • type

      public ConnectivityType type()
      Get the type property: type of connectivity.
      Returns:
      the type value.
    • withType

      public ConnectivityCriteria withType(ConnectivityType type)
      Set the type property: type of connectivity.
      Parameters:
      type - the type value to set.
      Returns:
      the ConnectivityCriteria object itself.
    • value

      public List<String> value()
      Get the value property: Queries for checking connectivity.
      Returns:
      the value value.
    • withValue

      public ConnectivityCriteria withValue(List<String> value)
      Set the value property: Queries for checking connectivity.
      Parameters:
      value - the value value to set.
      Returns:
      the ConnectivityCriteria object itself.
    • validate

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