Class RegionForOnlineOffline
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.RegionForOnlineOffline
-
public final class RegionForOnlineOffline extends Object
Cosmos DB region to online or offline.
-
-
Constructor Summary
Constructors Constructor Description RegionForOnlineOffline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringregion()Get the region property: Cosmos DB region, with spaces between words and each word capitalized.voidvalidate()Validates the instance.RegionForOnlineOfflinewithRegion(String region)Set the region property: Cosmos DB region, with spaces between words and each word capitalized.
-
-
-
Method Detail
-
region
public String region()
Get the region property: Cosmos DB region, with spaces between words and each word capitalized.- Returns:
- the region value.
-
withRegion
public RegionForOnlineOffline withRegion(String region)
Set the region property: Cosmos DB region, with spaces between words and each word capitalized.- Parameters:
region- the region value to set.- Returns:
- the RegionForOnlineOffline object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-