Class RegionSet
java.lang.Object
software.amazon.awssdk.http.auth.aws.signer.RegionSet
This class represents the concept of a set of regions.
 
A region-set can contain one or more comma-separated AWS regions, or a single wildcard to represent all regions ("global"). Whitespace is trimmed from entries of the set.
Examples of region-sets:
- '*' - Represents all regions, global
 - 'eu-west-1' - Represents a single region, eu-west-1
 - 'us-west-2,us-east-1' - Represents 2 regions, us-west-2 and us-east-1
 
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionasSet()Gets the set of strings that represent this RegionSet.asString()Gets the string representation of this RegionSet.static RegionSetCreates a RegionSet with the supplied region-set string.static RegionSetcreate(Collection<String> regions) Creates a RegionSet from the supplied collection.booleaninthashCode() 
- 
Field Details
- 
GLOBAL
The "Global" region, which is represented with a single wildcard character: "*". 
 - 
 - 
Method Details
- 
asString
Gets the string representation of this RegionSet. - 
asSet
Gets the set of strings that represent this RegionSet. - 
create
Creates a RegionSet with the supplied region-set string.- Parameters:
 value- See class documentationRegionSetfor the expected format.
 - 
create
Creates a RegionSet from the supplied collection.- Parameters:
 regions- A collection of regions.
 - 
equals
 - 
hashCode
public int hashCode() 
 -