Class FilePathAvailabilityRequest
java.lang.Object
com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest
File path availability request content - availability is based on the name and the subnetId.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: File path to verify.subnetId()
Get the subnetId property: The Azure Resource URI for a delegated subnet.void
validate()
Validates the instance.Set the name property: File path to verify.withSubnetId
(String subnetId) Set the subnetId property: The Azure Resource URI for a delegated subnet.
-
Constructor Details
-
FilePathAvailabilityRequest
public FilePathAvailabilityRequest()
-
-
Method Details
-
name
Get the name property: File path to verify.- Returns:
- the name value.
-
withName
Set the name property: File path to verify.- Parameters:
name
- the name value to set.- Returns:
- the FilePathAvailabilityRequest object itself.
-
subnetId
Get the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the FilePathAvailabilityRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-