FilePathAvailabilityRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest

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 FilePathAvailabilityRequest class.

Method Summary

Modifier and Type Method and Description
String availabilityZone()

Get the availabilityZone property: The Azure Resource logical availability zone which is used within zone mapping lookup for the subscription and region.

static FilePathAvailabilityRequest fromJson(JsonReader jsonReader)

Reads an instance of FilePathAvailabilityRequest from the JsonReader.

String name()

Get the name property: File path to verify.

String subnetId()

Get the subnetId property: The Azure Resource URI for a delegated subnet.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

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.

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.

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:

the availabilityZone value.

fromJson

public static FilePathAvailabilityRequest fromJson(JsonReader jsonReader)

Reads an instance of FilePathAvailabilityRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FilePathAvailabilityRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

name

public String name()

Get the name property: File path to verify.

Returns:

the name value.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

availabilityZone - the availabilityZone value to set.

Returns:

the FilePathAvailabilityRequest object itself.

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.

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.

Applies to