Class NfsMountEndpointUpdateProperties
java.lang.Object
com.azure.resourcemanager.storagemover.models.EndpointBaseUpdateProperties
com.azure.resourcemanager.storagemover.models.NfsMountEndpointUpdateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<EndpointBaseUpdateProperties>
The NfsMountEndpointUpdateProperties model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NfsMountEndpointUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the endpointType property: The Endpoint resource type.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NfsMountEndpointUpdateProperties from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDescription(String description) Set the description property: A description for the Endpoint.Methods inherited from class com.azure.resourcemanager.storagemover.models.EndpointBaseUpdateProperties
descriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NfsMountEndpointUpdateProperties
public NfsMountEndpointUpdateProperties()Creates an instance of NfsMountEndpointUpdateProperties class.
-
-
Method Details
-
endpointType
Get the endpointType property: The Endpoint resource type.- Overrides:
endpointTypein classEndpointBaseUpdateProperties- Returns:
- the endpointType value.
-
withDescription
Set the description property: A description for the Endpoint.- Overrides:
withDescriptionin classEndpointBaseUpdateProperties- Parameters:
description- the description value to set.- Returns:
- the EndpointBaseUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classEndpointBaseUpdateProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<EndpointBaseUpdateProperties>- Overrides:
toJsonin classEndpointBaseUpdateProperties- Throws:
IOException
-
fromJson
public static NfsMountEndpointUpdateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NfsMountEndpointUpdateProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NfsMountEndpointUpdateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the NfsMountEndpointUpdateProperties.
-