public interface CloudPlatform
Modifier and Type | Method and Description |
---|---|
String |
getInstanceTypeMetadataEndpoint() |
default Map<String,String> |
getMetadataHeaders() |
CloudPlatformType |
getPlatformType() |
default String |
parseInstanceType(String responseBody)
By default, assumes that the response body contains just the instance type and returns it unparsed.
|
String getInstanceTypeMetadataEndpoint()
CloudPlatformType getPlatformType()
default Map<String,String> getMetadataHeaders()
default String parseInstanceType(String responseBody)
responseBody
- the response body returned by the instance type metadata endpointCopyright © 2003–2021 Atlassian. All rights reserved.