Class ConnectivityCheckRequestSource
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.ConnectivityCheckRequestSource
-
public final class ConnectivityCheckRequestSource extends Object
Definitions about the connectivity check origin.
-
-
Constructor Summary
Constructors Constructor Description ConnectivityCheckRequestSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
instance()
Get the instance property: The particular VMSS instance from which to fire the request.String
region()
Get the region property: The API Management service region from where to start the connectivity check operation.void
validate()
Validates the instance.ConnectivityCheckRequestSource
withInstance(Long instance)
Set the instance property: The particular VMSS instance from which to fire the request.ConnectivityCheckRequestSource
withRegion(String region)
Set the region property: The API Management service region from where to start the connectivity check operation.
-
-
-
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.
-
-