RestorePointCollectionSourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. RestorePointCollectionSourceProperties
- com.
Implements
public final class RestorePointCollectionSourceProperties
implements JsonSerializable<RestorePointCollectionSourceProperties>
The properties of the source resource that this restore point collection is created from.
Constructor Summary
Constructor | Description |
---|---|
RestorePointCollectionSourceProperties() |
Creates an instance of Restore |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Restore |
fromJson(JsonReader jsonReader)
Reads an instance of Restore |
String |
id()
Get the id property: Resource Id of the source resource used to create this restore point collection. |
String |
location()
Get the location property: Location of the source resource used to create this restore point collection. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Restore |
withId(String id)
Set the id property: Resource Id of the source resource used to create this restore point collection. |
Methods inherited from java.lang.Object
Constructor Details
RestorePointCollectionSourceProperties
public RestorePointCollectionSourceProperties()
Creates an instance of RestorePointCollectionSourceProperties class.
Method Details
fromJson
public static RestorePointCollectionSourceProperties fromJson(JsonReader jsonReader)
Reads an instance of RestorePointCollectionSourceProperties from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id of the source resource used to create this restore point collection.
Returns:
location
public String location()
Get the location property: Location of the source resource used to create this restore point collection.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public RestorePointCollectionSourceProperties withId(String id)
Set the id property: Resource Id of the source resource used to create this restore point collection.
Parameters:
Returns:
Applies to
Azure SDK for Java