Class TroubleshootingParameters
- java.lang.Object
-
- com.azure.resourcemanager.network.models.TroubleshootingParameters
-
public final class TroubleshootingParameters extends Object
Parameters that define the resource to troubleshoot.
-
-
Constructor Summary
Constructors Constructor Description TroubleshootingParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringstorageId()Get the storageId property: The ID for the storage account to save the troubleshoot result.StringstoragePath()Get the storagePath property: The path to the blob to save the troubleshoot result in.StringtargetResourceId()Get the targetResourceId property: The target resource to troubleshoot.voidvalidate()Validates the instance.TroubleshootingParameterswithStorageId(String storageId)Set the storageId property: The ID for the storage account to save the troubleshoot result.TroubleshootingParameterswithStoragePath(String storagePath)Set the storagePath property: The path to the blob to save the troubleshoot result in.TroubleshootingParameterswithTargetResourceId(String targetResourceId)Set the targetResourceId property: The target resource to troubleshoot.
-
-
-
Method Detail
-
targetResourceId
public String targetResourceId()
Get the targetResourceId property: The target resource to troubleshoot.- Returns:
- the targetResourceId value.
-
withTargetResourceId
public TroubleshootingParameters withTargetResourceId(String targetResourceId)
Set the targetResourceId property: The target resource to troubleshoot.- Parameters:
targetResourceId- the targetResourceId value to set.- Returns:
- the TroubleshootingParameters object itself.
-
storageId
public String storageId()
Get the storageId property: The ID for the storage account to save the troubleshoot result.- Returns:
- the storageId value.
-
withStorageId
public TroubleshootingParameters withStorageId(String storageId)
Set the storageId property: The ID for the storage account to save the troubleshoot result.- Parameters:
storageId- the storageId value to set.- Returns:
- the TroubleshootingParameters object itself.
-
storagePath
public String storagePath()
Get the storagePath property: The path to the blob to save the troubleshoot result in.- Returns:
- the storagePath value.
-
withStoragePath
public TroubleshootingParameters withStoragePath(String storagePath)
Set the storagePath property: The path to the blob to save the troubleshoot result in.- Parameters:
storagePath- the storagePath value to set.- Returns:
- the TroubleshootingParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-