FilePathAvailabilityRequest Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. FilePathAvailabilityRequest
- com.
Implements
public final class FilePathAvailabilityRequest
implements JsonSerializable<FilePathAvailabilityRequest>
File path availability request content - availability is based on the name and the subnetId.
Constructor Summary
| Constructor | Description |
|---|---|
| FilePathAvailabilityRequest() |
Creates an instance of File |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
availabilityZone()
Get the availability |
|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
| String |
name()
Get the name property: File path to verify. |
| String |
subnetId()
Get the subnet |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
File |
withAvailabilityZone(String availabilityZone)
Set the availability |
|
File |
withName(String name)
Set the name property: File path to verify. |
|
File |
withSubnetId(String subnetId)
Set the subnet |
Methods inherited from java.lang.Object
Constructor Details
FilePathAvailabilityRequest
public FilePathAvailabilityRequest()
Creates an instance of FilePathAvailabilityRequest class.
Method Details
availabilityZone
public String availabilityZone()
Get the availabilityZone property: The Azure Resource logical availability zone which is used within zone mapping lookup for the subscription and region. The lookup will retrieve the physical zone where volume is placed.
Returns:
fromJson
public static FilePathAvailabilityRequest fromJson(JsonReader jsonReader)
Reads an instance of FilePathAvailabilityRequest from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: File path to verify.
Returns:
subnetId
public String subnetId()
Get the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAvailabilityZone
public FilePathAvailabilityRequest withAvailabilityZone(String availabilityZone)
Set the availabilityZone property: The Azure Resource logical availability zone which is used within zone mapping lookup for the subscription and region. The lookup will retrieve the physical zone where volume is placed.
Parameters:
Returns:
withName
public FilePathAvailabilityRequest withName(String name)
Set the name property: File path to verify.
Parameters:
Returns:
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:
Returns: