@Override
 protected Properties defaultProperties() {
   Properties properties = super.defaultProperties();
   properties.setProperty(PROPERTY_AUTH_TAG, "AWS");
   properties.setProperty(PROPERTY_HEADER_TAG, "amz");
   properties.setProperty(PROPERTY_API_VERSION, CloudWatchAsyncClient.VERSION);
   properties.putAll(Region.regionProperties());
   properties.setProperty(PROPERTY_ENDPOINT, "https://monitoring.us-east-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + Region.US_EAST_1 + ".endpoint",
       "https://monitoring.us-east-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + Region.US_WEST_1 + ".endpoint",
       "https://monitoring.us-west-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + Region.EU_WEST_1 + ".endpoint",
       "https://monitoring.eu-west-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + Region.AP_SOUTHEAST_1 + ".endpoint",
       "https://monitoring.ap-southeast-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + Region.AP_NORTHEAST_1 + ".endpoint",
       "https://monitoring.ap-northeast-1.amazonaws.com");
   return properties;
 }
예제 #2
0
 public static Properties defaultProperties() {
   Properties properties = new Properties();
   properties.putAll(Region.regionPropertiesS3());
   properties.setProperty(PROPERTY_ENDPOINT, "https://s3.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + US_STANDARD + "." + ENDPOINT, "https://s3.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + US_WEST_1 + "." + ENDPOINT, "https://s3-us-west-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + US_WEST_2 + "." + ENDPOINT, "https://s3-us-west-2.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + SA_EAST_1 + "." + ENDPOINT, "https://s3-sa-east-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + EU_WEST_1 + "." + ENDPOINT, "https://s3-eu-west-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + AP_SOUTHEAST_1 + "." + ENDPOINT,
       "https://s3-ap-southeast-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + AP_SOUTHEAST_2 + "." + ENDPOINT,
       "https://s3-ap-southeast-2.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + AP_NORTHEAST_1 + "." + ENDPOINT,
       "https://s3-ap-northeast-1.amazonaws.com");
   return properties;
 }
 @Override
 protected Properties defaultProperties() {
   Properties properties = super.defaultProperties();
   properties.putAll(Region.regionPropertiesS3());
   properties.setProperty(PROPERTY_ENDPOINT, "https://s3.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + US_STANDARD + "." + ENDPOINT, "https://s3.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + US_WEST_1 + "." + ENDPOINT, "https://s3-us-west-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + "EU" + "." + ENDPOINT, "https://s3-eu-west-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + AP_SOUTHEAST_1 + "." + ENDPOINT,
       "https://s3-ap-southeast-1.amazonaws.com");
   properties.setProperty(
       PROPERTY_REGION + "." + AP_NORTHEAST_1 + "." + ENDPOINT,
       "https://s3-ap-northeast-1.amazonaws.com");
   return properties;
 }