public synchronized static DefaultProfile getProfile(String regionId, String accessKeyId, String secret) {Credential creden = new Credential(accessKeyId, secret);profile = new DefaultProfile(regionId, creden);return profile;}

public static DefaultProfile GetProfile(string regionId, string accessKeyId, string secret){var credential = new Credential(accessKeyId, secret);_profile = new DefaultProfile(regionId, credential);return _profile;}
