Class MulticloudEnvironment
Beta: models offerings that reached general availability in 2026 (AWS Interconnect -
multicloud, Google Cloud Partner Cross-Cloud Interconnect for AWS, Oracle Interconnect for AWS).
Entries are dated observations of provider documentation; see
MulticloudEnvironmentCatalog.
| Field | Content | Constraint |
|---|---|---|
environment | the region pair as an EnvironmentRef: two
ProviderSites (provider id and the provider's own region name) and the connection
sizes in Mbps confirmed for the pair | required |
status | MulticloudEnvironmentStatus |
null becomes UNVERIFIED |
sourceUrls | the provider pages the entry was read from, primary source first | unmodifiable; may be empty for a caller-supplied entry |
asOf | the date the sources were read, ISO-8601 (2026-09-21) |
null or a valid ISO-8601 date |
sizesNote | what the size list does and does not cover | optional |
note | other facts from the source (billing rules, preview limits) | optional |
Environment id
The providers do not publish the environment ids they agreed on under the Connection
Coordinator specification. of(CloudProviderType, String, CloudProviderType, String, MulticloudEnvironmentStatus, BandwidthTier, String, String) therefore assigns a catalog-local id of the form
{providerId}-{region}--{providerId}-{region} with the two sides ordered by provider id
(aws-us-east-1--gcp-us-east4). It identifies the entry inside a catalog and is not a
value either provider's API accepts.
Provider mapping
A CloudProviderType maps to the ProviderRef whose id equals
CloudProviderType.shortCode() (aws, azure, gcp, oci,
ibm, alibaba). CloudProviderType.OTHER names no provider and is
rejected.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcatalogId(ProviderSite one, ProviderSite other) The catalog-local id for a pair of provider sites, identical for either argument order.static Optional<CloudProviderType> The inverse ofproviderRefOf(CloudProviderType).The two clouds of this environment, in the environment's canonical order (by provider id).booleanconnects(CloudProviderType a, String aRegion, CloudProviderType z, String zRegion) Tests whether this environment joins the two given cloud regions.describe()A one-line description: both sites, the status and the as-of date, for exampleaws us-east-1 <-> gcp us-east4 (GA, as of 2026-09-21).booleanstatic MulticloudEnvironmentof(CloudProviderType a, String aRegion, CloudProviderType z, String zRegion, MulticloudEnvironmentStatus status, BandwidthTier sizesMbps, String sourceUrl, String asOf) Creates an entry for a pair of cloud regions, assigning the catalog-local environment id described in the class documentation.static ProviderRefproviderRefOf(CloudProviderType provider) Maps a cloud to its specification-style provider id throughshortCode().regionOf(CloudProviderType provider) The connection sizes confirmed for this pair, in Mbps.
-
Method Details
-
of
public static MulticloudEnvironment of(CloudProviderType a, String aRegion, CloudProviderType z, String zRegion, MulticloudEnvironmentStatus status, BandwidthTier sizesMbps, String sourceUrl, String asOf) Creates an entry for a pair of cloud regions, assigning the catalog-local environment id described in the class documentation. The two sides are an unordered pair.- Parameters:
a- one cloudaRegion- its region in its own notation, for exampleus-east-1z- the other cloud; must differ fromazRegion- its region in its own notation, for exampleus-east4status- the observed availability;nullbecomesUNVERIFIEDsizesMbps- the connection sizes confirmed for the pair, in Mbps;nullbecomesBandwidthTier.none()sourceUrl- the page the entry was read from; may benullasOf- the ISO-8601 date the source was read; may benull- Returns:
- the entry
- Throws:
IllegalArgumentException- if a provider isnullorOTHER, both providers are the same, a region is blank, orasOfis not an ISO-8601 date
-
catalogId
The catalog-local id for a pair of provider sites, identical for either argument order.- Parameters:
one- one provider siteother- the other provider site- Returns:
{providerId}-{region}--{providerId}-{region}, lower-case, sides ordered by provider id
-
connects
Tests whether this environment joins the two given cloud regions. The endpoints may be given in either order; region names are compared after trimming, ignoring case.- Parameters:
a- one cloudaRegion- its regionz- the other cloudzRegion- its region- Returns:
truewhen the pair matches;falsewhen any argument isnullor a cloud has no provider id
-
joins
- Parameters:
a- one cloudz- another cloud- Returns:
truewhen the two providers of this environment areaandz, in either order
-
regionOf
- Parameters:
provider- a cloud- Returns:
- that cloud's region in this environment, or empty when the cloud is not one of the two providers
-
cloudProviders
The two clouds of this environment, in the environment's canonical order (by provider id).- Returns:
- a two-element list; an element is empty when the provider id has no
CloudProviderType(for exampleequinix)
-
sizesMbps
The connection sizes confirmed for this pair, in Mbps.- Returns:
- the sizes; empty when none was confirmed
-
-
describe
A one-line description: both sites, the status and the as-of date, for exampleaws us-east-1 <-> gcp us-east4 (GA, as of 2026-09-21).- Returns:
- the description
-
providerRefOf
Maps a cloud to its specification-style provider id throughshortCode().- Parameters:
provider- the cloud- Returns:
- the provider id
- Throws:
IllegalArgumentException- ifproviderisnullorOTHER
-
cloudProviderOf
The inverse ofproviderRefOf(CloudProviderType).- Parameters:
ref- a provider id- Returns:
- the cloud whose
shortCode()equals the id; empty fornulland for ids with noCloudProviderTypeconstant
-