Class FilePathAvailabilityRequest
- java.lang.Object
-
- com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest
-
public final class FilePathAvailabilityRequest extends Object
File path availability request content - availability is based on the name and the subnetId.
-
-
Constructor Summary
Constructors Constructor Description FilePathAvailabilityRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: File path to verify.String
subnetId()
Get the subnetId property: The Azure Resource URI for a delegated subnet.void
validate()
Validates the instance.FilePathAvailabilityRequest
withName(String name)
Set the name property: File path to verify.FilePathAvailabilityRequest
withSubnetId(String subnetId)
Set the subnetId property: The Azure Resource URI for a delegated subnet.
-
-
-
Method Detail
-
name
public String name()
Get the name property: File path to verify.- Returns:
- the name value.
-
withName
public FilePathAvailabilityRequest withName(String name)
Set the name property: File path to verify.- Parameters:
name
- the name value to set.- Returns:
- the FilePathAvailabilityRequest object itself.
-
subnetId
public String 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
public FilePathAvailabilityRequest withSubnetId(String subnetId)
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.
-
-