response.setDescribeSecurityGroupsResponse(param1);
return response;
}
public static CreateSecurityGroupResponse toCreateSecurityGroupResponse(EC2SecurityGroup sg) {
CreateSecurityGroupResponse response = new CreateSecurityGroupResponse();
CreateSecurityGroupResponseType param1 = new CreateSecurityGroupResponseType();
param1.setGroupId(sg.getId());
if (sg.getId() != null)
param1.set_return(true);
else
param1.set_return(false);
param1.setRequestId(UUID.randomUUID().toString());
response.setCreateSecurityGroupResponse(param1);
return response;
}