예제 #1
0
 /** {@inheritDoc} */
 @Override
 public Map<String, Object> getMetadata() {
   return ImmutableMap.<String, Object>of(
       "endpoint",
       URI.create(providerMetadata.getEndpoint()),
       "apiVersion",
       providerMetadata.getApiMetadata().getVersion(),
       "buildVersion",
       providerMetadata.getApiMetadata().getBuildVersion().or(""),
       "identity",
       getIdentity());
 }
예제 #2
0
 /** {@inheritDoc} */
 @Override
 public Set<String> getIso3166Codes() {
   return providerMetadata.getIso3166Codes();
 }
예제 #3
0
 /** {@inheritDoc} */
 @Override
 public String getDescription() {
   return providerMetadata.getName();
 }
예제 #4
0
 /** {@inheritDoc} */
 @Override
 public String getId() {
   return providerMetadata.getId();
 }
예제 #5
0
 @Inject
 AWSServiceAndRegion(ProviderMetadata provider) {
   this(provider.getEndpoint());
 }