Class AmazonInfo
java.lang.Object
io.micronaut.discovery.eureka.client.v2.AmazonInfo
- All Implemented Interfaces:
 DataCenterInfo
An AWS specific 
DataCenterInfo implementation.
 Gets AWS specific information for registration with eureka by making a HTTP call to an AWS service as recommended by AWS.
- Author:
 - Karthik Ranganathan, Greg Kim
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder class.static enumMetaData key.Nested classes/interfaces inherited from interface io.micronaut.discovery.eureka.client.v2.DataCenterInfo
DataCenterInfo.Name - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the AWS metadata specified inAmazonInfo.MetaDataKey.getId()Get the metadata information specific to AWS.getName()inthashCode()voidsetMetadata(Map<String, String> metadataMap) Set AWS metadata.toString() 
- 
Constructor Details
- 
AmazonInfo
public AmazonInfo()Default constructor. 
 - 
 - 
Method Details
- 
getName
- Specified by:
 getNamein interfaceDataCenterInfo- Returns:
 - The name. It always returns "Amazon"
 
 - 
getMetadata
Get the metadata information specific to AWS.- Returns:
 - the map of AWS metadata as specified by 
AmazonInfo.MetaDataKey. 
 - 
setMetadata
Set AWS metadata.- Parameters:
 metadataMap- the map containing AWS metadata.
 - 
get
Gets the AWS metadata specified inAmazonInfo.MetaDataKey.- Parameters:
 key- the metadata key.- Returns:
 - String returning the value.
 
 - 
getId
- Returns:
 - The instance id
 
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -