Class QueryTroubleshootingParameters
java.lang.Object
com.azure.resourcemanager.network.models.QueryTroubleshootingParameters
Parameters that define the resource to query the troubleshooting result.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of QueryTroubleshootingParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the targetResourceId property: The target resource ID to query the troubleshooting result.voidvalidate()Validates the instance.withTargetResourceId(String targetResourceId) Set the targetResourceId property: The target resource ID to query the troubleshooting result.
-
Constructor Details
-
QueryTroubleshootingParameters
public QueryTroubleshootingParameters()Creates an instance of QueryTroubleshootingParameters class.
-
-
Method Details
-
targetResourceId
Get the targetResourceId property: The target resource ID to query the troubleshooting result.- Returns:
- the targetResourceId value.
-
withTargetResourceId
Set the targetResourceId property: The target resource ID to query the troubleshooting result.- Parameters:
targetResourceId- the targetResourceId value to set.- Returns:
- the QueryTroubleshootingParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-