use of com.amazonaws.internal.SdkInternalList in project cloudbreak by hortonworks.
the class AwsPlatformResourcesTest method instanceProfile.
private InstanceProfile instanceProfile(int i) {
InstanceProfile instanceProfile = new InstanceProfile();
instanceProfile.setArn(String.format("arn-%s", i));
instanceProfile.setCreateDate(new Date());
instanceProfile.setInstanceProfileId(String.format("profilId-%s", i));
instanceProfile.setInstanceProfileName(String.format("profilName-%s", i));
SdkInternalList<Role> roles = new SdkInternalList();
Role role = new Role();
role.setRoleName(String.format("roleArn-%s", i));
roles.add(role);
return instanceProfile;
}
Aggregations