List of usage examples for com.amazonaws.services.ec2.model SecurityGroup setOwnerId
public void setOwnerId(String ownerId)
The AWS account ID of the owner of the security group.
From source file:jp.primecloud.auto.aws.typica.converter.SecurityGroupConverter.java
License:Open Source License
@Override protected SecurityGroup convertObject(GroupDescription from) { SecurityGroup to = new SecurityGroup(); to.setOwnerId(from.getOwner()); to.setGroupName(from.getName());//from ww w . j a v a2 s.c o m to.setDescription(from.getDescription()); to.setIpPermissions(new IpPermissionConverter().convert(from.getPermissions())); return to; }