CosmosExcludedRegions Class
- java.
lang. Object - com.
azure. cosmos. CosmosExcludedRegions
- com.
public final class CosmosExcludedRegions
A class which encapsulates a set of excluded regions.
Constructor Summary
Constructor | Description |
---|---|
CosmosExcludedRegions(Set<String> excludedRegions) |
Instantiates |
Method Summary
Modifier and Type | Method and Description |
---|---|
Set<String> |
getExcludedRegions()
Gets the immutable set of excluded regions. |
String | toString() |
Methods inherited from java.lang.Object
Constructor Details
CosmosExcludedRegions
public CosmosExcludedRegions(Set
Instantiates CosmosExcludedRegions
.
Parameters:
excludedRegions
- the set of regions to exclude.
Method Details
getExcludedRegions
public Set
Gets the immutable set of excluded regions.
Returns:
an immutable set of excluded regions.
toString
public String toString()
Overrides:
CosmosExcludedRegions.toString()Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java