Class AmazonInfo.Builder
java.lang.Object
io.micronaut.discovery.eureka.client.v2.AmazonInfo.Builder
- Enclosing class:
- AmazonInfo
Builder class.
-
Method Summary
Modifier and TypeMethodDescriptionaddMetadata
(AmazonInfo.MetaDataKey key, String value) autoBuild
(EurekaConfiguration config) Build theAmazonInfo
automatically via HTTP calls to instance metadata API.build()
Build theInstanceInfo
information.static AmazonInfo.Builder
-
Method Details
-
newBuilder
- Returns:
- The new builder
-
addMetadata
- Parameters:
key
- The keyvalue
- The value- Returns:
- The builder instance
-
build
Build theInstanceInfo
information.- Returns:
- AWS specific instance information.
-
autoBuild
Build theAmazonInfo
automatically via HTTP calls to instance metadata API.- Parameters:
config
- The Eureka configuration- Returns:
- the instance information specific to AWS.
-