public static final class AmazonInfo.Builder extends Object
Modifier and Type | Method and Description |
---|---|
AmazonInfo.Builder |
addMetadata(AmazonInfo.MetaDataKey key,
String value) |
AmazonInfo |
autoBuild(EurekaConfiguration config)
Build the
AmazonInfo automatically via HTTP calls to instance
metadata API. |
AmazonInfo |
build()
Build the
InstanceInfo information. |
static AmazonInfo.Builder |
newBuilder() |
public static AmazonInfo.Builder newBuilder()
public AmazonInfo.Builder addMetadata(AmazonInfo.MetaDataKey key, String value)
key
- The keyvalue
- The valuepublic AmazonInfo build()
InstanceInfo
information.public AmazonInfo autoBuild(EurekaConfiguration config)
AmazonInfo
automatically via HTTP calls to instance
metadata API.config
- The Eureka configuration