Class QueryTroubleshootingParameters


  • public final class QueryTroubleshootingParameters
    extends Object
    Parameters that define the resource to query the troubleshooting result.
    • Constructor Detail

      • QueryTroubleshootingParameters

        public QueryTroubleshootingParameters()
    • Method Detail

      • targetResourceId

        public String targetResourceId()
        Get the targetResourceId property: The target resource ID to query the troubleshooting result.
        Returns:
        the targetResourceId value.
      • withTargetResourceId

        public QueryTroubleshootingParameters withTargetResourceId​(String targetResourceId)
        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.