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 Summary
Constructors Constructor Description ConnectivityCriteria()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectivityType
type()
Get the type property: type of connectivity.void
validate()
Validates the instance.List<String>
value()
Get the value property: Queries for checking connectivity.ConnectivityCriteria
withType(ConnectivityType type)
Set the type property: type of connectivity.ConnectivityCriteria
withValue(List<String> value)
Set the value property: Queries for checking connectivity.
-
-
-
Method Detail
-
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.
-
-