Class LocationProperties
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.LocationProperties
-
public final class LocationProperties extends Object
Cosmos DB location metadata.
-
-
Constructor Summary
Constructors Constructor Description LocationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BackupStorageRedundancy>backupStorageRedundancies()Get the backupStorageRedundancies property: The properties of available backup storage redundancies.BooleanisResidencyRestricted()Get the isResidencyRestricted property: Flag indicating whether the location is residency sensitive.BooleansupportsAvailabilityZone()Get the supportsAvailabilityZone property: Flag indicating whether the location supports availability zones or not.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
supportsAvailabilityZone
public Boolean supportsAvailabilityZone()
Get the supportsAvailabilityZone property: Flag indicating whether the location supports availability zones or not.- Returns:
- the supportsAvailabilityZone value.
-
isResidencyRestricted
public Boolean isResidencyRestricted()
Get the isResidencyRestricted property: Flag indicating whether the location is residency sensitive.- Returns:
- the isResidencyRestricted value.
-
backupStorageRedundancies
public List<BackupStorageRedundancy> backupStorageRedundancies()
Get the backupStorageRedundancies property: The properties of available backup storage redundancies.- Returns:
- the backupStorageRedundancies value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-