共用方式為


CosmosExcludedRegions Class

  • java.lang.Object
    • com.azure.cosmos.CosmosExcludedRegions

public final class CosmosExcludedRegions

A class which encapsulates a set of excluded regions.

Constructor Summary

Constructor Description
CosmosExcludedRegions(Set<String> excludedRegions)

Instantiates CosmosExcludedRegions.

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 excludedRegions)

Instantiates CosmosExcludedRegions.

Parameters:

excludedRegions - the set of regions to exclude.

Method Details

getExcludedRegions

public Set getExcludedRegions()

Gets the immutable set of excluded regions.

Returns:

an immutable set of excluded regions.

toString

public String toString()

Overrides:

CosmosExcludedRegions.toString()

Applies to