Class RestorePointCollectionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.compute.fluent.models.RestorePointCollectionInner
-
public final class RestorePointCollectionInner extends com.azure.core.management.ResourceCreate or update Restore Point collection parameters.
-
-
Constructor Summary
Constructors Constructor Description RestorePointCollectionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringprovisioningState()Get the provisioningState property: The provisioning state of the restore point collection.StringrestorePointCollectionId()Get the restorePointCollectionId property: The unique id of the restore point collection.List<RestorePointInner>restorePoints()Get the restorePoints property: A list containing all restore points created under this restore point collection.RestorePointCollectionSourcePropertiessource()Get the source property: The properties of the source resource that this restore point collection is created from.voidvalidate()Validates the instance.RestorePointCollectionInnerwithLocation(String location)RestorePointCollectionInnerwithSource(RestorePointCollectionSourceProperties source)Set the source property: The properties of the source resource that this restore point collection is created from.RestorePointCollectionInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public RestorePointCollectionInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public RestorePointCollectionInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
source
public RestorePointCollectionSourceProperties source()
Get the source property: The properties of the source resource that this restore point collection is created from.- Returns:
- the source value.
-
withSource
public RestorePointCollectionInner withSource(RestorePointCollectionSourceProperties source)
Set the source property: The properties of the source resource that this restore point collection is created from.- Parameters:
source- the source value to set.- Returns:
- the RestorePointCollectionInner object itself.
-
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning state of the restore point collection.- Returns:
- the provisioningState value.
-
restorePointCollectionId
public String restorePointCollectionId()
Get the restorePointCollectionId property: The unique id of the restore point collection.- Returns:
- the restorePointCollectionId value.
-
restorePoints
public List<RestorePointInner> restorePoints()
Get the restorePoints property: A list containing all restore points created under this restore point collection.- Returns:
- the restorePoints value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-