- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
74 lines
1.7 KiB
Java
74 lines
1.7 KiB
Java
package com.amazonaws.regions;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class Region {
|
|
public final String domain;
|
|
public final String name;
|
|
public final Map serviceEndpoints = new HashMap();
|
|
public final Map httpSupport = new HashMap();
|
|
public final Map httpsSupport = new HashMap();
|
|
|
|
public String getDomain() {
|
|
return this.domain;
|
|
}
|
|
|
|
public Map getHttpSupport() {
|
|
return this.httpSupport;
|
|
}
|
|
|
|
public Map getHttpsSupport() {
|
|
return this.httpsSupport;
|
|
}
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
|
|
public Map getServiceEndpoints() {
|
|
return this.serviceEndpoints;
|
|
}
|
|
|
|
public Region(String str, String str2) {
|
|
this.name = str;
|
|
if (str2 == null || str2.isEmpty()) {
|
|
this.domain = "amazonaws.com";
|
|
} else {
|
|
this.domain = str2;
|
|
}
|
|
}
|
|
|
|
public static Region getRegion(Regions regions) {
|
|
return RegionUtils.getRegion(regions.getName());
|
|
}
|
|
|
|
public static Region getRegion(String str) {
|
|
return RegionUtils.getRegion(str);
|
|
}
|
|
|
|
public String getServiceEndpoint(String str) {
|
|
return (String) this.serviceEndpoints.get(str);
|
|
}
|
|
|
|
public boolean isServiceSupported(String str) {
|
|
return this.serviceEndpoints.containsKey(str);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (obj instanceof Region) {
|
|
return getName().equals(((Region) obj).getName());
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return getName().hashCode();
|
|
}
|
|
|
|
public String toString() {
|
|
return getName();
|
|
}
|
|
}
|